Added some 'dialog view models' that fire events when a dialog is to be closed (this allows ok and cancel buttons to be normally bound, allowing the view model to be unit tested and to run code upon receiving an ok click, the event then signaling to the dialog that it should close with the specified result)
git-svn-id: file:///srv/devel/repo-conversion/nuwi@42 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
4ef5dd9430
commit
e728a182c5
5 changed files with 440 additions and 0 deletions
|
|
@ -55,6 +55,14 @@
|
|||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Source\ViewModels\DialogViewModel.cs" />
|
||||
<Compile Include="Source\ViewModels\DialogViewModel.Test.cs">
|
||||
<DependentUpon>DialogViewModel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Source\ViewModels\ThreadedDialogViewModel.cs" />
|
||||
<Compile Include="Source\ViewModels\ThreadedDialogViewModel.Test.cs">
|
||||
<DependentUpon>ThreadedDialogViewModel.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Source\ViewModels\ThreadedViewModel.cs" />
|
||||
<Compile Include="Source\ViewModels\ThreadedViewModel.Test.cs">
|
||||
<DependentUpon>ThreadedViewModel.cs</DependentUpon>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue