From 2993e61e9d1fbe09884f1ec42307f41df60192e0 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 24 十二月 2024 14:56:50 +0800 Subject: [PATCH] 细节修理 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 2657a09..3f0d55e 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -739,7 +739,6 @@ if (ctrl is CheckBox) { var txt = ctrl as CheckBox; - //txt.Checked = false; txt.Enabled = !isEdt; } if (ctrl is CheckEdit) @@ -1286,7 +1285,12 @@ return 1; return 0; } - + public static bool ToBoole(string str) + { + if (str.ToUpper() == "true".ToUpper()) + return true; + return false; + } public string GetIsNullOrEmpty(string str) { if (string.IsNullOrEmpty(str.Trim())) -- Gitblit v1.9.3