From c401a2f2fd1a509cdeb33e850bb5c2827074af48 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 17 三月 2025 08:44:51 +0800
Subject: [PATCH] 完善框架,新增两个close方法;

---
 HMI.UI/Style/PanuonResource.xaml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HMI.UI/Style/PanuonResource.xaml b/HMI.UI/Style/PanuonResource.xaml
index 01337d5..b587af8 100644
--- a/HMI.UI/Style/PanuonResource.xaml
+++ b/HMI.UI/Style/PanuonResource.xaml
@@ -281,9 +281,9 @@
         <Setter Property="pu:WindowXCaption.Buttons" Value="Close"/>
         <Setter Property="pu:WindowXModalDialog.Buttons" Value="OKCancel"/>
         <Setter Property="pu:WindowXModalDialog.CancelButtonContent" 
-                Value="{Binding Converter={StaticResource lc},ConverterParameter='App.Cancel'}"/>
+                Value="{DynamicResource App.Cancel}"/>
         <Setter Property="pu:WindowXModalDialog.OKButtonContent" 
-                Value="{Binding Converter={StaticResource lc},ConverterParameter='App.Save'}"/>
+                Value="{DynamicResource App.Save}"/>
         <Setter Property="pu:WindowXModalDialog.ButtonPanelMargin" Value="0,30,10,10"/>
     </Style>
 </ResourceDictionary>
\ No newline at end of file

--
Gitblit v1.9.1