This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.xaml
38 lines (31 loc) · 1.79 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
<Application
x:Class="RocketLeagueGarage.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:RocketLeagueGarage"
xmlns:view="clr-namespace:RocketLeagueGarage.View"
xmlns:viewModel="clr-namespace:RocketLeagueGarage.ViewModel"
Exit="Application_Exit"
Startup="ApplicationStart">
<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.Grey.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" />
<ResourceDictionary Source="Theme/MenuButtonTheme.xaml" />
<ResourceDictionary Source="Theme/TextboxTheme.xaml" />
</ResourceDictionary.MergedDictionaries>
<DataTemplate DataType="{x:Type viewModel:HomeViewModel}">
<view:HomeView />
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:AccountViewModel}">
<view:Account />
</DataTemplate>
<DataTemplate DataType="{x:Type viewModel:HistoryLogsViewModel}">
<view:HistoryLogsView />
</DataTemplate>
</ResourceDictionary>
</Application.Resources>
</Application>