251029
This commit is contained in:
@@ -1,9 +1,50 @@
|
||||
<Application x:Class="FATrace.WPLApp.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:FATrace.WPLApp"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<prism:PrismApplication
|
||||
x:Class="FATrace.WPLApp.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:FATrace.WPLApp"
|
||||
xmlns:prism="http://prismlibrary.com/"
|
||||
xmlns:viewmodels="clr-namespace:FATrace.WPLApp.ViewModels">
|
||||
<Application.Resources>
|
||||
|
||||
<ResourceDictionary>
|
||||
<Style TargetType="{x:Type Control}">
|
||||
<Setter Property="FontFamily" Value="Segoe UI" />
|
||||
</Style>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<!--<materialDesign:BundledTheme
|
||||
BaseTheme="Dark"
|
||||
ColorAdjustment="{materialDesign:ColorAdjustment}"
|
||||
PrimaryColor="LightBlue"
|
||||
SecondaryColor="Amber" />
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/CapMachine.Shared;component/Themes/Generic.xaml" />-->
|
||||
<!--<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.Lime.xaml" />-->
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<!--<bar:TaskbarIcon
|
||||
x:Key="taskBar"
|
||||
DoubleClickCommand="{Binding ShowViewCommand}"
|
||||
IconSource="/Assets/Images/favicon.ico">
|
||||
<bar:TaskbarIcon.DataContext>
|
||||
<viewmodels:TaskBarViewModel />
|
||||
</bar:TaskbarIcon.DataContext>
|
||||
<bar:TaskbarIcon.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Command="{Binding ExitCommand}" Header="退出系统">
|
||||
<MenuItem.Icon>
|
||||
<Image
|
||||
Width="20"
|
||||
Height="20"
|
||||
Source="/Assets/Images/favicon.ico" />
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</ContextMenu>
|
||||
</bar:TaskbarIcon.ContextMenu>
|
||||
</bar:TaskbarIcon>-->
|
||||
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
</prism:PrismApplication>
|
||||
|
||||
Reference in New Issue
Block a user