From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +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