From 97c16ca7943f36d1631a843df27628d5eada9eb2 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 07 三月 2025 16:09:20 +0800
Subject: [PATCH] 受托

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index 2ccb088..faebd02 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -10,7 +10,6 @@
 using System.Net.Http;
 using System.Reflection;
 using System.Resources;
-using System.Runtime.CompilerServices;
 using System.Text;
 using System.Text.RegularExpressions;
 using System.Threading.Tasks;
@@ -791,14 +790,14 @@
                 if (ctrl is CheckEdit)
                 {
                     var txt = ctrl as CheckEdit;
-                    txt.ReadOnly = isEdt;
-                    if (txt.Tag != null && txt.Tag.ToString().Length > 0 && txt.Tag.ToString().StartsWith("moren"))
+                    if (_isRead(txt.Tag))
                     {
-                        txt.Checked = bool.Parse(txt.Tag.ToString().Replace("moren.", ""));
+                        txt.ReadOnly = true;
                     }
                     else
-                        txt.Checked = false;
+                        txt.ReadOnly = isEdt;
                     continue;
+
                 }
                 //鑷畾涔変粨搴�
                 if (ctrl is UcLookCk)

--
Gitblit v1.9.3