|
|
@@ -1,35 +1,37 @@
|
|
|
-<prism:PrismApplication x:Class="TeamAAS_VP.App"
|
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
- xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
- xmlns:c="clr-namespace:TeamAAS_VP.ValueConverter"
|
|
|
- xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf"
|
|
|
- xmlns:local="clr-namespace:TeamAAS_VP"
|
|
|
- xmlns:prism="http://prismlibrary.com/">
|
|
|
+<prism:PrismApplication
|
|
|
+ x:Class="TeamAAS_VP.App"
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:c="clr-namespace:TeamAAS_VP.ValueConverter"
|
|
|
+ xmlns:local="clr-namespace:TeamAAS_VP"
|
|
|
+ xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
|
+ xmlns:wpf="clr-namespace:MaterialDesignThemes.Wpf;assembly=MaterialDesignThemes.Wpf">
|
|
|
<Application.Resources>
|
|
|
<ResourceDictionary>
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
|
-
|
|
|
+
|
|
|
<!--<ResourceDictionary Source="Resources/Languages1/Chinese.xaml" />-->
|
|
|
<ResourceDictionary Source="Resources\Styles\DefaultColors.xaml" />
|
|
|
|
|
|
<ResourceDictionary Source="Resources/FontSize/DefaultFontSize.xaml" />
|
|
|
|
|
|
- <materialDesign:BundledTheme BaseTheme="Inherit"
|
|
|
- PrimaryColor="DeepPurple"
|
|
|
- SecondaryColor="Purple" />
|
|
|
- <!-- MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive! -->
|
|
|
+ <materialDesign:BundledTheme
|
|
|
+ BaseTheme="Inherit"
|
|
|
+ PrimaryColor="DeepPurple"
|
|
|
+ SecondaryColor="Purple" />
|
|
|
+ <!-- MahApps.Metro resource dictionaries. Make sure that all file names are Case Sensitive! -->
|
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
|
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
|
|
|
- <!-- Theme setting -->
|
|
|
+ <!-- Theme setting -->
|
|
|
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
|
|
|
-
|
|
|
- <!--MaterialDesign-->
|
|
|
+
|
|
|
+ <!-- MaterialDesign -->
|
|
|
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
|
|
|
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
|
|
|
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.DeepPurple.xaml" />
|
|
|
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Secondary/MaterialDesignColor.Lime.xaml" />
|
|
|
- <!--MaterialDesign-->
|
|
|
+ <!-- MaterialDesign -->
|
|
|
|
|
|
<ResourceDictionary Source="pack://application:,,,/ICSharpCode.AvalonEdit;component/themes/generic.xaml" />
|
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
@@ -38,12 +40,10 @@
|
|
|
<c:StringFormatConverter x:Key="StringFormatConverter" />
|
|
|
<c:InvertBooleanConverter x:Key="InvertBooleanConverter" />
|
|
|
<c:ObjectToVisibilityConverter x:Key="ObjectToVisibilityConverter" />
|
|
|
- <c:ObjectToVisibilityConverter x:Key="ObjectToCollapsedConverter"
|
|
|
- Invert="True" />
|
|
|
+ <c:ObjectToVisibilityConverter x:Key="ObjectToCollapsedConverter" Invert="True" />
|
|
|
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
|
|
- <c:BooleanToVisibilityConverter x:Key="BooleanToCollapsedConverter"
|
|
|
- Invert="True" />
|
|
|
+ <c:BooleanToVisibilityConverter x:Key="BooleanToCollapsedConverter" Invert="True" />
|
|
|
</ResourceDictionary>
|
|
|
-
|
|
|
+
|
|
|
</Application.Resources>
|
|
|
</prism:PrismApplication>
|