From 0940f31b7eba1cf6b6a8c1fca72d97cf686e79f2 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 04 七月 2025 10:43:00 +0800
Subject: [PATCH] 优化插件,完善TreeListView
---
HMI.UI/Controls/NumberPanel.xaml.cs | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/HMI.UI/Controls/NumberPanel.xaml.cs b/HMI.UI/Controls/NumberPanel.xaml.cs
index abdd3df..e3eee9d 100644
--- a/HMI.UI/Controls/NumberPanel.xaml.cs
+++ b/HMI.UI/Controls/NumberPanel.xaml.cs
@@ -16,6 +16,18 @@
InitializeComponent();
}
+ private bool dotEnabled = true;
+
+ public bool DotEnabled
+ {
+ get { return dotEnabled; }
+ set
+ {
+ Set(ref dotEnabled, value);
+ }
+ }
+
+
public double? Data { get; private set; }
private bool _isProcessing;
@@ -34,9 +46,8 @@
{
}
- catch (Exception ex)
+ catch
{
-
return;
}
finally
--
Gitblit v1.9.1