添加项目文件。

This commit is contained in:
2026-04-30 11:34:41 +08:00
parent a8539ccaac
commit 80635aa46e
181 changed files with 16378 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<Application
x:Class="SamplePreSystemApp.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:SamplePreSystemApp"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
StartupUri="AppMainView.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<materialDesign:BundledTheme
BaseTheme="Light"
PrimaryColor="Blue"
SecondaryColor="Lime" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesign3.Defaults.xaml" />
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseButtonStyle.xaml" />
<!--<ResourceDictionary Source="/Styles/BaseDataGrid.xaml" />-->
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseDataGrid.xaml" />
<ResourceDictionary Source="pack://application:,,,/SamplePreSystem.UI;component/Styles/BaseWindowStyle.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Window.xaml" />
</ResourceDictionary.MergedDictionaries>
<!-- ✅ 全局设置:表格表头样式 -->
<Style TargetType="DataGridColumnHeader">
<Setter Property="Background" Value="#F5F5F5" />
<Setter Property="Foreground" Value="#333333" />
<Setter Property="Height" Value="32" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>