From 80fca75dc87026fc0ef2a634e1f08927339cde8a Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 14 四月 2025 08:10:34 +0800
Subject: [PATCH] 打印计算

---
 DevApp/Gs.DevApp/UserControl/SelectCk.cs |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/SelectCk.cs b/DevApp/Gs.DevApp/UserControl/SelectCk.cs
index 1d1fb17..589aadd 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectCk.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectCk.cs
@@ -22,11 +22,8 @@
         {
             _strGuid = strGuid;
             InitializeComponent();
-            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
-            gvList.Add(gridView1);
-            Gs.DevApp.ToolBox.UtilityHelper.getGridViewConfig(this.GetType().FullName, gvList);
             getPageList(1);
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false);
         }
         /// <summary>
         /// 鏌ヨ浜嬩欢
@@ -71,7 +68,7 @@
                     {
                         gcMain.DataSource = dt;
                         gcMain.ForceInitialize();
-                        gridView1.BestFitColumns();
+                        gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
                     }
                     else
                         UtilityHelper.SetDefaultTable(gcMain, gridView1);
@@ -112,8 +109,6 @@
                 UpdateParent?.Invoke(this, new UpdateParentEventArgs { DynamicList = list });
                 Close();
             }
-
-
         }
 
         /// <summary>

--
Gitblit v1.9.3