From ca2aef7370cbfa419e3a0f0ea7467fa2c85f6c43 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 17 三月 2025 08:08:59 +0800 Subject: [PATCH] 打印 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 9eea9e9..60e3a1c 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -409,7 +409,13 @@ if (colType is CheckEdit) { var txt = colType as CheckEdit; - if (txt != null) + if (_isRead(txt.Tag)) + { + txt.ReadOnly = true; + } + else + txt.ReadOnly = isEdt; + if (txt != null) { switch (strVal) { case "True": @@ -425,8 +431,8 @@ txt.Checked = false; break; } - - txt.ReadOnly = isEdt; + } + continue; } //鍗曢�� @@ -452,6 +458,7 @@ txt.Enabled = !isEdt; continue; } + //鏃堕棿 if (colType is DateTimePicker) { @@ -797,7 +804,6 @@ else txt.ReadOnly = isEdt; continue; - } //鑷畾涔変粨搴� if (ctrl is UcLookCk) -- Gitblit v1.9.3