-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
25 lines (25 loc) · 1.24 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
<Application x:Class="KoalaVPN.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:KoalaVPN"
xmlns:view="clr-namespace:KoalaVPN.MVVM.View"
xmlns:vms="clr-namespace:KoalaVPN.MVVM.ViewModel"
StartupUri="MVVM/View/MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!--Themes-->
<ResourceDictionary Source="/Themes/TitleBarButton.Nord.xaml"/>
<ResourceDictionary Source="/Themes/MenuBarButton.Nord.xaml"/>
<ResourceDictionary Source="/Themes/ConnectButton.Nord.xaml"/>
<ResourceDictionary Source="/Themes/ServerListTheme.Nord.xaml"/>
</ResourceDictionary.MergedDictionaries>
<DataTemplate DataType="{x:Type vms:ProtectionViewModel}">
<view:ProtectionView/>
</DataTemplate>
<DataTemplate DataType="{x:Type vms:SettingsViewModel}">
<view:SettingsView/>
</DataTemplate>
</ResourceDictionary>
</Application.Resources>
</Application>