From 1afe548ac40cc7f975917ef9bf2e156595cf81f3 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期四, 16 四月 2026 08:58:04 +0800
Subject: [PATCH] 优化;

---
 HMI.UI/MDI/MinInnerWindow.xaml |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/HMI.UI/MDI/MinInnerWindow.xaml b/HMI.UI/MDI/MinInnerWindow.xaml
index c0804f0..f359678 100644
--- a/HMI.UI/MDI/MinInnerWindow.xaml
+++ b/HMI.UI/MDI/MinInnerWindow.xaml
@@ -10,14 +10,13 @@
     <UserControl.Resources>
         <ResourceDictionary>
             <ResourceDictionary.MergedDictionaries>
-                <ResourceDictionary Source="/HMI.UI;component/Style/colors.xaml"/>
                 <ResourceDictionary Source="/HMI.UI;component/Style/WindowResources.xaml"/>
             </ResourceDictionary.MergedDictionaries>
         </ResourceDictionary>
     </UserControl.Resources>
 
-    <StackPanel Background="{StaticResource VerBar}" Orientation="Horizontal">
-        <Label BorderBrush="{StaticResource PrimaryColor}" Foreground="#FFF" BorderThickness="2,0,0,0" VerticalContentAlignment="Center" ToolTip="{Binding Title}" Content="{Binding Title}"/>
+    <StackPanel Background="{DynamicResource VerBar}" Orientation="Horizontal">
+        <Label BorderBrush="{DynamicResource PrimaryColor}" Foreground="#FFF" BorderThickness="2,0,0,0" VerticalContentAlignment="Center" ToolTip="{Binding Title}" Content="{Binding Title}"/>
         <Button Style="{StaticResource ChildWindowButton}" Background="Transparent" Click="Max_Click" >&#xe602;</Button>
         <!--<Button Style="{StaticResource ChildWindowCloseButton}" Click="CLose_Click">&#xe609;</Button>-->
     </StackPanel>

--
Gitblit v1.9.1