-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
99 lines (34 loc) · 2.3 KB
/
App.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<Application x:Class="WpfApp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:viewModel="clr-namespace:WpfApp.ViewModel"
xmlns:framework="clr-namespace:WpfApp.Framework"
StartupUri="View/MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<!--x:Key: see ViewModel.Core.PipeViewModel-->
<framework:ViewViewModelPairs x:Key="ViewViewModelPairs">
<!-- <framework:ViewViewModelPairs.Pairs>-->
<x:Array Type="framework:ViewViewModelPair">
<framework:ViewViewModelPair View="View/AddChildWindow.xaml" ViewModel="viewModel:AddChildViewModel"/>
<framework:ViewViewModelPair View="View/AddGroupWindow.xaml" ViewModel="viewModel:AddGroupViewModel"/>
<framework:ViewViewModelPair View="View/AddParentWindow.xaml" ViewModel="viewModel:AddParentViewModel"/>
<framework:ViewViewModelPair View="View/AddTarifWindow.xaml" ViewModel="viewModel:AddTarifViewModel"/>
<framework:ViewViewModelPair View="View/ChildDetailsWindow.xaml" ViewModel="viewModel:ChildDetailsViewModel"/>
<framework:ViewViewModelPair View="View/ChangeChildGroupWindow.xaml" ViewModel="viewModel:ChangeChildGroupViewModel"/>
<framework:ViewViewModelPair View="View/ChangeGroupGroupTypeWindow.xaml" ViewModel="viewModel:ChangeGroupGroupTypeViewModel"/>
<framework:ViewViewModelPair View="View/SaveOrRepealParentChangesDialog.xaml" ViewModel="viewModel:SaveOrRepealParentChangesViewModel"/>
<framework:ViewViewModelPair View="View/AddExpenseWindow.xaml" ViewModel="viewModel:AddExpenseViewModel"/>
<framework:ViewViewModelPair View="View/ChangeDebtWindow.xaml" ViewModel="viewModel:ChangeDebtViewModel"/>
</x:Array>
<!-- </framework:ViewViewModelPairs.Pairs>-->
</framework:ViewViewModelPairs>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Dictionaries/Converters.xaml"/>
<ResourceDictionary Source="Dictionaries/Images.xaml"/>
<ResourceDictionary Source="Dictionaries/Data.xaml"/>
<ResourceDictionary Source="Dictionaries/Styles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>