-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
50 lines (43 loc) · 3.05 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Application x:Class="Designer_Offer.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Designer_Offer"
xmlns:vm="clr-namespace:Designer_Offer.ViewModels"
xmlns:view="clr-namespace:Designer_Offer.Views.UControl"
StartupUri="Views/Windows/MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.LightBlue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Blue.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Button.xaml"/>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.PopupBox.xaml"/>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.TextBlock.xaml"/>
</ResourceDictionary.MergedDictionaries>
<SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource Primary700}"/>
<SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource Primary700Foreground}"/>
<SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource Primary800}"/>
<SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource Primary800Foreground}"/>
<SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource Primary900}"/>
<SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource Primary900Foreground}"/>
<vm:ViewModelLocator x:Key="Locator"/>
<DataTemplate DataType="{x:Type vm:ProjectManagerViewModel}">
<view:ProjectManager />
</DataTemplate>
<DataTemplate DataType="{x:Type vm:CompanyManagerViewModel}">
<view:CompanyManager />
</DataTemplate>
<DataTemplate DataType="{x:Type vm:ServiceManagerViewModel}">
<view:ServiceManager />
</DataTemplate>
<DataTemplate DataType="{x:Type vm:OfferManagerViewModel}">
<view:OfferManager />
</DataTemplate>
<DataTemplate DataType="{x:Type vm:PartManagerViewModel}">
<view:PartManager />
</DataTemplate>
</ResourceDictionary>
</Application.Resources>
</Application>