From 4cac1b533e133fdc8b3def90a0f998820f51907a Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期三, 26 三月 2025 17:57:59 +0800
Subject: [PATCH] 优化UI,新增日志自动删除;
---
WPFProject/App.xaml | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/WPFProject/App.xaml b/WPFProject/App.xaml
index 940c25c..d38cde6 100644
--- a/WPFProject/App.xaml
+++ b/WPFProject/App.xaml
@@ -6,6 +6,7 @@
xmlns:pu="https://opensource.panuon.com/wpf-ui"
xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
xmlns:hc="clr-namespace:HMI.Core;assembly=HMI.Core"
+ ShutdownMode="OnExplicitShutdown"
Startup="Application_Startup">
<Application.Resources>
<ResourceDictionary>
@@ -20,6 +21,7 @@
<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"/>
<hc:LangConverter x:Key="lc"/>
</ResourceDictionary>
--
Gitblit v1.9.1