From be94e54dc7cd0eb2e66f25d7def9a873c563564c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 10 一月 2025 09:53:30 +0800
Subject: [PATCH] 细节

---
 DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs |   19 +++----------------
 1 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
index f103276..9bb5c42 100644
--- a/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
+++ b/DevApp/Gs.DevApp/ToolBox/UtilityHelper.cs
@@ -454,14 +454,7 @@
                             txt.Enabled = !isEdt;
                             continue;
                         }
-                        //if (colType is CheckEdit)
-                        //{
-                        //    var txt = colType as CheckEdit;
-                        //    if (txt != null)
-                        //        txt.Checked = bool.Parse(strVal);
-                        //    txt.ReadOnly = isEdt;
-                        //    continue;
-                        //}
+                     
                         //鏃堕棿
                         if (colType is DateTimePicker)
                         {
@@ -772,14 +765,7 @@
                         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)
                 {
@@ -1666,6 +1652,7 @@
         public static void SetGridViewParameter(GridView gridView1, PictureBox picCheckBox = null, Form fm = null, string fileName = "checkStatus", string icoName = "", DelegateGetModel action = null)
         {
             gridView1.OptionsView.ColumnAutoWidth = false;//鑷姩璋冩暣鍒楀
+            // gridView1.BestFitColumns();//鏁版嵁缁戝畾鍒癎ridView涔嬪悗璋冪敤BestFitColumns()鏂规硶
             foreach (GridColumn column in gridView1.Columns)
             {
                 column.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains;

--
Gitblit v1.9.3