From 3bfbb2e22e9ee3b54c51e83a7262d907657e48c9 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 17 一月 2025 11:30:08 +0800 Subject: [PATCH] 细节 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 0794fe4..25b4264 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; } @@ -1780,7 +1785,7 @@ string _isRed = row["isRed"].ToString(); if (_isRed == "1") { - e.Appearance.BackColor = Color.LightPink; + e.Appearance.ForeColor = Color.Tomato; } } // 璁剧疆鐒︾偣琛岀殑鑳屾櫙鑹� -- Gitblit v1.9.3