From 2e54b439c64e0adbb7e010243c1f33aa5fc5f503 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期二, 11 三月 2025 14:08:57 +0800
Subject: [PATCH] 完善程序; Merge branch 'master' of http://58.211.88.246:3600/r/WPF/WPFProject

---
 HMI.ParameterManage/ParameterModal.xaml |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/HMI.ParameterManage/ParameterModal.xaml b/HMI.ParameterManage/ParameterModal.xaml
index 29a4921..eb6f928 100644
--- a/HMI.ParameterManage/ParameterModal.xaml
+++ b/HMI.ParameterManage/ParameterModal.xaml
@@ -14,17 +14,9 @@
             SizeToContent="Height"
             Width="600"
             WindowStartupLocation="CenterOwner"
-            BorderBrush="#3E3E45"
-            BorderThickness="1"
-            Foreground="Black"
-            pu:WindowXCaption.Background="{StaticResource PrimaryColor}"
-            pu:WindowXModalDialog.ButtonStyle="{StaticResource ModalButton}"
-            pu:WindowXCaption.Foreground="#FFF"
-            pu:WindowXCaption.Buttons="Close"
-            pu:WindowXModalDialog.Buttons="OKCancel"
-            pu:WindowXModalDialog.CancelButtonContent="鍙栨秷"
-            pu:WindowXModalDialog.OKButtonContent="淇濆瓨"
-            pu:WindowXModalDialog.ButtonPanelMargin="0,30,10,10">
+            Style="{StaticResource ModalWindow}"
+            pu:WindowXModalDialog.OKButtonContent=
+            "{Binding Converter={StaticResource lc},ConverterParameter='App.Save'}">
     <Grid Margin="10">
         <StackPanel x:Name="formPanel">
             <pu:FormGroup x:Name="FgProductName" dp:FormGroupHelper.IsRequired="True" 

--
Gitblit v1.9.1