From 22f37018f11fffbc4a7bd656e1a459b3b02a8980 Mon Sep 17 00:00:00 2001 From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU> Date: 星期六, 20 九月 2025 10:31:33 +0800 Subject: [PATCH] 设备台账表、设备保养记录表、设备点检记录表的增删改和审核功能 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaItemsDetect01Input.cs index 0f1c7d0..0210f25 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; - }; + } + ; } } -- Gitblit v1.9.3