From d62f93072f8dd7dbd418f68d10818aaca741af74 Mon Sep 17 00:00:00 2001 From: lu <123456> Date: 星期二, 15 七月 2025 17:27:07 +0800 Subject: [PATCH] 送货计划 --- DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs index 93869a1..306e26f 100644 --- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs +++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs @@ -453,6 +453,15 @@ txt.Enabled = !isEdt; continue; } + //澶氶�� + if (colType is RadioGroup) + { + var txt = colType as RadioGroup; + if (txt != null) + txt.SelectedIndex =int.Parse( strVal); + txt.ReadOnly = isEdt; + continue; + } //鏃堕棿 if (colType is DateTimePicker) { @@ -747,6 +756,15 @@ txt.ReadOnly = isEdt; continue; } + //澶氶�� + if (ctrl is RadioGroup) + { + var txt = ctrl as RadioGroup; + if (txt != null) + txt.SelectedIndex = 0; + txt.ReadOnly = isEdt; + continue; + } //鏃堕棿 if (ctrl is DateTimePicker) { @@ -1007,6 +1025,13 @@ txt.ReadOnly = isEdt; continue; } + //澶氶�� + if (ctrl is RadioGroup) + { + var txt = ctrl as RadioGroup; + txt.ReadOnly = isEdt; + continue; + } //鏃ユ湡 if (ctrl is DateTimePicker) { -- Gitblit v1.9.3