From 0a2d755f7e39e1e1a8f8e104d527f07889b537ab Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期六, 11 一月 2025 13:59:01 +0800
Subject: [PATCH] 细节

---
 DevApp/Gs.DevApp/UserControl/SelectWompba.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/SelectWompba.cs b/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
index 057b23d..58684c1 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectWompba.cs
@@ -1,4 +1,5 @@
-锘縰sing Gs.DevApp.ToolBox;
+锘縰sing DevExpress.RichEdit.Export;
+using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
@@ -18,12 +19,10 @@
             this.workId = _workId;
             pageBar1.PagerEvent += PageBar1_PagerEvent;
             getPageList(1, UtilityHelper.GetPageSize());
-            gridView1.IndicatorWidth = 50;
-            gridView1.CustomDrawRowIndicator += (s, e) =>
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
             {
-                if (e.Info.IsRowIndicator && e.RowHandle >= 0)
-                    e.Info.DisplayText = (e.RowHandle + 1).ToString();
-            };
+             
+            });
             btnIn.Click += (s, e) =>
             {
                 var list = new List<string>();
@@ -82,6 +81,7 @@
                 gcMain.BindingContext = new BindingContext();
                 gcMain.DataSource = dt;
                 gcMain.ForceInitialize();
+                gridView1.BestFitColumns();
                 var dddd = dd.rtnData.pages; //鎬婚〉
                 pageBar1.TotalPages = dddd;
                 pageBar1.RecordCount = dd.rtnData.total; //璁板綍鎬绘暟

--
Gitblit v1.9.3