From e5414022999d94626b0d55d29d0dba3ce700fea9 Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期一, 22 九月 2025 15:40:13 +0800
Subject: [PATCH] bug

---
 DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
index 0f1c7d0..3172a4c 100644
--- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
+++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs
@@ -1,9 +1,12 @@
-锘縰sing Gs.DevApp.Entity;
+锘縰sing DevExpress.Utils.MVVM.Services;
+using DevExpress.XtraLayout.Customization;
+using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
 using System;
 using System.Data;
 using System.Drawing;
+using System.Threading.Tasks;
 using System.Windows.Forms;
 
 namespace Gs.DevApp.DevFrm.QC
@@ -32,7 +35,14 @@
             //绂佺敤鏍锋湰鏁颁箣澶栫殑鍗曞厓鏍间笖鏀瑰彉棰滆壊
             gvMx1.CustomDrawCell += GvMx1_CustomDrawCell;
             getModel();
+
+            this.FormClosing +=  (s, e) =>
+            {
+                textEdit1.Focus();
+            };
         }
+
+
 
         /// <summary>
         /// 鍒ゆ柇鍗曞厓鏍肩殑缂栬緫鎬�
@@ -87,7 +97,8 @@
                 {
                     e.Appearance.BackColor = Color.Red;
                     e.Appearance.ForeColor = Color.White;
-                };
+                }
+                ;
             }
         }
 
@@ -164,7 +175,8 @@
 
         private void getModel()
         {
-            gcMx1.DataSource = null;
+            //2025-09-20鎵句笉鍒伴敊璇紝鎵�浠ュ厛鎶婅繖涓�琛屾敞閲婅瘯璇�
+            //gcMx1.DataSource = null;
             gvMx1.Columns.Clear();
             var _obj = new
             {

--
Gitblit v1.9.3