20230724_MBJC_upperpc/App.xaml
2023-11-15 13:34:33 +08:00

23 lines
1.2 KiB
XML

<Application
x:Class="_20230724_MBJC_upperpc.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:_20230724_MBJC_upperpc"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
StartupUri="FirstWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!--<materialDesign:BundledTheme BaseTheme="Light" PrimaryColor="DeepPurple" SecondaryColor="Lime"/>-->
<!-- 使用资源字典提供的内置主题,和下面这个二选一 -->
<materialDesign:CustomColorTheme
BaseTheme="Light"
PrimaryColor="LightSkyBlue"
SecondaryColor="DarkGreen" />
<!-- 为主题使用自定义的颜色,可以使用资源字典执行此操作,和上面这个二选一 -->
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>