From a7feb4c13e6f83f7adf8510dc7cb5c1323c87de5 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期四, 16 一月 2025 13:36:14 +0800
Subject: [PATCH] 细节

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 0794fe4..3ab67e7 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -785,7 +785,12 @@
                 {
                     var txt = ctrl as CheckEdit;
                     txt.ReadOnly = isEdt;
-                    txt.Checked = false;
+                    if (txt.Tag != null && txt.Tag.ToString().Length > 0 && txt.Tag.ToString().StartsWith("moren"))
+                    {
+                        txt.Checked = bool.Parse(txt.Tag.ToString().Replace("moren.", ""));
+                    }
+                    else
+                        txt.Checked = false;
                     continue;
                 }
 

--
Gitblit v1.9.3