From 15bbd62b0b24b72c717ae91ab45348a2083ad04e Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 10 十月 2025 08:58:18 +0800
Subject: [PATCH] 优化bug;

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

diff --git a/WPFProject/App.xaml b/WPFProject/App.xaml
index 0368538..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,12 +18,15 @@
                 <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"/>

--
Gitblit v1.9.1