From dd7c9629d16d81bde03e42b3e9e984088f3e4d2c Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 21 一月 2025 17:28:47 +0800
Subject: [PATCH] 细节

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

diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
index 1c43803..714348b 100644
--- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
+++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
@@ -64,11 +64,11 @@
                     gcMain.BindingContext = new BindingContext();
                     gcMain.DataSource = dt;
                     gcMain.ForceInitialize();
+                    gridView1.BestFitColumns();
                     int dddd = dd.rtnData.pages;//鎬婚〉
                     pageBar1.TotalPages = dddd;
                     pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟
                     pageBar1.CurrentPage = curPage;//褰撳墠椤�
-                    pageBar1.setTxt();
                 }
                 else
                 {

--
Gitblit v1.9.3