From 3a471ae651b228231bebb3a2d438baa1d4ac0261 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 21 十一月 2025 08:57:52 +0800
Subject: [PATCH] 优化

---
 WPFProject/App.xaml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/WPFProject/App.xaml b/WPFProject/App.xaml
index d38cde6..289fbe1 100644
--- a/WPFProject/App.xaml
+++ b/WPFProject/App.xaml
@@ -7,6 +7,7 @@
              xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
              xmlns:hc="clr-namespace:HMI.Core;assembly=HMI.Core"
              ShutdownMode="OnExplicitShutdown"
+             xmlns:sys="clr-namespace:System;assembly=mscorlib"
              Startup="Application_Startup">
     <Application.Resources>
         <ResourceDictionary>
@@ -17,13 +18,18 @@
                 <ResourceDictionary Source="/HMI.UI;component/Style/Colors.xaml"/>
                 <ResourceDictionary Source="/HMI.UI;component/Style/PanuonResource.xaml"/>
                 <ResourceDictionary Source="/HMI.UI;component/Style/MsgBoxStyle.xaml"/>
+                <ResourceDictionary Source="/HMI.Base;component/MaskControl.xaml"/>
             </ResourceDictionary.MergedDictionaries>
+            <sys:Double x:Key="nanD">NaN</sys:Double>
             <Style TargetType="{x:Type pu:FormGroup}" BasedOn="{StaticResource InputFormGroupStyle}"></Style>
             <uic:PathImageConverter x:Key="path2Image"/>
             <uic:DataGridRowNumberConverter x:Key="rowNumber"/>
             <uic:VisibilityBoolConverter x:Key="vbConverter"/>
             <uic:DataGridRowFlagConverter x:Key="rowFlag"/>
+            <uic:ReverseBoolConverter x:Key="reverseBool"/>
             <hc:LangConverter x:Key="lc"/>
+            <hc:WidthSizeConverter x:Key="fc"/>
+            <hc:HeightSizeConverter x:Key="hfc"/>
         </ResourceDictionary>
     </Application.Resources>
 </Application>

--
Gitblit v1.9.1