lg
2024-09-18 beefa10327cacb21d3f434ec5a537ef4a6cd79de
DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -264,6 +264,15 @@
                            txt.Enabled = isEdt;
                            continue;
                        }
                        //时间
                        if (colType is DateTimePicker)
                        {
                            DateTimePicker txt = colType as DateTimePicker;
                            if (txt != null)
                                txt.Checked = (strVal.ToString() == "1" ? true : false);
                            txt.Enabled = isEdt;
                            continue;
                        }
                    }
                }
                catch (Exception ex)
@@ -335,7 +344,12 @@
                    ctrl.Enabled = isEdt;
                    continue;
                }
                //日期
                if (ctrl is DateTimePicker)
                {
                    ctrl.Enabled = isEdt;
                    continue;
                }
            }
        }