From 2de65e7ad262da695494122b547db604ca53b01a Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期五, 15 八月 2025 17:40:09 +0800
Subject: [PATCH] 1、UtilityHelper通用类 (1、底部汇总新增选择时汇总 2、颜色设置) 2、到货条码打印设置检验结果颜色 3、采购到货(1、为GridView的鼠标抬起事件添加处理方法,实现自定义交互2、条件汇总:只对选中(打勾)的行进行汇总)

---
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
index 41affff..57e694e 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesInvItemIns.cs
@@ -6,6 +6,7 @@
 using System;
 using System.Collections.Generic;
 using System.Data;
+using System.Drawing;
 using System.Threading.Tasks;
 using System.Windows.Forms;
 
@@ -39,6 +40,23 @@
             }, lbGuid);
             getPageList(1);
             pageBar1.PagerEvent += PageBar1_PagerEvent;
+
+            // 浣跨敤鏂扮殑绠�鍖栨牸寮忚缃鏍哥姸鎬侀鑹�
+            this.Load += (s, e) => {
+                System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();
+                timer.Interval = 1000; // 1绉掑悗鎵ц
+                timer.Tick += (sender, args) => {
+                    timer.Stop();
+                    timer.Dispose();
+                    
+                    // 璁剧疆瀹℃牳鐘舵�侀鑹� - 鏀寔澶氱bit绫诲瀷鐨勫�兼牸寮�
+                 
+                    UtilityHelper.SetSimpleGridColor(gridView1, "checkStatus", "=True", "Cell", Color.Blue);
+                   
+                };
+                timer.Start();
+            };
+
         }
         private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
         {

--
Gitblit v1.9.3