具备界面基础功能
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
<Application x:Class="SHH.CameraDashboard.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:SHH.CameraDashboard"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application
|
||||
x:Class="SHH.CameraDashboard.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:SHH.CameraDashboard"
|
||||
xmlns:vm="clr-namespace:SHH.CameraDashboard">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<!-- 颜色主题(深色 / 浅色) -->
|
||||
<ResourceDictionary Source="/Style/Themes/Colors.Dark.xaml"/>
|
||||
<!-- 如果需要支持浅色主题,可以在 ThemeManager 中切换 Colors.Light.xaml -->
|
||||
|
||||
<!-- 尺寸定义(字号、圆角、边距等) -->
|
||||
<ResourceDictionary Source="/Style/Themes/Sizes.xaml"/>
|
||||
|
||||
<!-- 通用控件样式(Button、TextBox、ListViewItem 等) -->
|
||||
<ResourceDictionary Source="/Style/Themes/Styles.xaml"/>
|
||||
|
||||
<!-- 如果有专用控件样式,可以单独放在这里 -->
|
||||
<!-- <ResourceDictionary Source="/Style/Themes/Wizard.xaml"/> -->
|
||||
<!-- <ResourceDictionary Source="/Style/Themes/Diagnostic.xaml"/> -->
|
||||
<ResourceDictionary Source="/Style/Themes/Colors.Dark.xaml" />
|
||||
<ResourceDictionary Source="/Style/Themes/Icons.xaml" />
|
||||
<ResourceDictionary Source="/Style/Themes/Sizes.xaml" />
|
||||
<ResourceDictionary Source="/Style/Themes/Styles.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
<DataTemplate DataType="{x:Type vm:WizardClientsViewModel}">
|
||||
<local:WizardClientsControl />
|
||||
</DataTemplate>
|
||||
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
</Application>
|
||||
Reference in New Issue
Block a user