From 2d10d3921343a8cfe2c1dc752d3aa3c31a7335c4 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 05 十一月 2024 08:59:43 +0800 Subject: [PATCH] Merge branch 'master' of http://43.142.96.171:8080/r/~tjx/GsMesClient --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 712ce51..3a46885 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -369,7 +369,15 @@ txt.ReadOnly = isEdt; continue; } - + if (colType is MemoEdit) + { + var txt = colType as MemoEdit; + if (txt != null) + txt.Text = strVal; + txt.ReadOnly = isEdt; + continue; + } + //鏁板瓧鍗� if (colType is NumericUpDown) { @@ -540,7 +548,14 @@ txt.ReadOnly = isEdt; continue; } - + if (ctrl is MemoEdit) + { + var txt = ctrl as MemoEdit; + if (txt != null) + txt.Text = ""; + txt.ReadOnly = isEdt; + continue; + } //鏃堕棿 if (ctrl is DateTimePicker) { @@ -618,7 +633,12 @@ txt.ReadOnly = isEdt; continue; } - + if (ctrl is MemoEdit) + { + var txt = ctrl as MemoEdit; + txt.ReadOnly = isEdt; + continue; + } //鏁板瓧鍗� if (ctrl is NumericUpDown) { @@ -626,7 +646,6 @@ txt.ReadOnly = isEdt; continue; } - //涓嬫媺 if (ctrl is UcComBox) { -- Gitblit v1.9.3