From b41fee69d4b70a66b65e18ab6e9b1faca9104ac9 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 13 二月 2025 15:41:30 +0800 Subject: [PATCH] 各种细节 --- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs | 3 +++ DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.Designer.cs | 12 ++++++------ DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs | 1 - DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs | 2 ++ DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs | 16 ++++++++-------- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs | 1 + 6 files changed, 20 insertions(+), 15 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs index 4450ae4..22216dd 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.Designer.cs @@ -77,7 +77,7 @@ this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true; this.gv_lastupdateDate.Caption = "鏇存柊鏃堕棿 "; this.gv_lastupdateDate.FieldName = "lastupdateDate"; - this.gv_lastupdateDate.MinWidth = 180; + this.gv_lastupdateDate.MinWidth = 25; this.gv_lastupdateDate.Name = "gv_lastupdateDate"; this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; this.gv_lastupdateDate.Tag = "query_a.lastupdate_date"; @@ -91,7 +91,7 @@ this.gv_lastupdateBy.AppearanceCell.Options.UseFont = true; this.gv_lastupdateBy.Caption = "鏇存柊浜� "; this.gv_lastupdateBy.FieldName = "lastupdateBy"; - this.gv_lastupdateBy.MinWidth = 50; + this.gv_lastupdateBy.MinWidth = 25; this.gv_lastupdateBy.Name = "gv_lastupdateBy"; this.gv_lastupdateBy.OptionsColumn.AllowEdit = false; this.gv_lastupdateBy.Tag = "query_a.lastupdate_by"; @@ -105,7 +105,7 @@ this.gv_createDate.AppearanceCell.Options.UseFont = true; this.gv_createDate.Caption = "鍒涘缓鏃堕棿 "; this.gv_createDate.FieldName = "createDate"; - this.gv_createDate.MinWidth = 180; + this.gv_createDate.MinWidth = 25; this.gv_createDate.Name = "gv_createDate"; this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.create_date"; @@ -119,7 +119,7 @@ this.gv_createBy.AppearanceCell.Options.UseFont = true; this.gv_createBy.Caption = "鍒涘缓浜� "; this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.MinWidth = 50; + this.gv_createBy.MinWidth = 25; this.gv_createBy.Name = "gv_createBy"; this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.create_by"; @@ -133,7 +133,7 @@ this.gv_defectRate.AppearanceCell.Options.UseFont = true; this.gv_defectRate.Caption = "缂洪櫡绫诲埆鎻忚堪"; this.gv_defectRate.FieldName = "typeMemo"; - this.gv_defectRate.MinWidth = 150; + this.gv_defectRate.MinWidth = 25; this.gv_defectRate.Name = "gv_defectRate"; this.gv_defectRate.OptionsColumn.AllowEdit = false; this.gv_defectRate.Tag = "query_a.defect_rate"; @@ -147,7 +147,7 @@ this.gv_defectSort.AppearanceCell.Options.UseFont = true; this.gv_defectSort.Caption = "缂洪櫡绫诲埆"; this.gv_defectSort.FieldName = "typeNo"; - this.gv_defectSort.MinWidth = 50; + this.gv_defectSort.MinWidth = 25; this.gv_defectSort.Name = "gv_defectSort"; this.gv_defectSort.OptionsColumn.AllowEdit = false; this.gv_defectSort.Tag = "query_a.defect_sort"; @@ -171,7 +171,7 @@ this.gv_memo.AppearanceCell.Options.UseFont = true; this.gv_memo.Caption = "缂洪櫡澶囨敞"; this.gv_memo.FieldName = "memo"; - this.gv_memo.MinWidth = 50; + this.gv_memo.MinWidth = 25; this.gv_memo.Name = "gv_memo"; this.gv_memo.OptionsColumn.AllowEdit = false; this.gv_memo.Tag = "query_a.memo"; @@ -204,7 +204,7 @@ this.gv_defectName.AppearanceCell.Options.UseFont = true; this.gv_defectName.Caption = "缂洪櫡鍚嶇О"; this.gv_defectName.FieldName = "defectName"; - this.gv_defectName.MinWidth = 50; + this.gv_defectName.MinWidth = 25; this.gv_defectName.Name = "gv_defectName"; this.gv_defectName.OptionsColumn.AllowEdit = false; this.gv_defectName.Tag = "query_a.defect_name"; diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs index 641a784..0a7bb61 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectCode.cs @@ -236,6 +236,7 @@ lbGuid.Text = _rtn.rtnData; toolBarMenu1.isSetBtn = true; UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + toolBarMenu1.currentAction = ""; } } catch (Exception ex) @@ -270,6 +271,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); + gridView1.BestFitColumns(); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.Designer.cs index 7c9b44f..ef039aa 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.Designer.cs @@ -76,7 +76,7 @@ this.gv_typeMemo.AppearanceCell.Options.UseFont = true; this.gv_typeMemo.Caption = "缂洪櫡绫诲埆鎻忚堪"; this.gv_typeMemo.FieldName = "typeMemo"; - this.gv_typeMemo.MinWidth = 150; + this.gv_typeMemo.MinWidth = 25; this.gv_typeMemo.Name = "gv_typeMemo"; this.gv_typeMemo.OptionsColumn.AllowEdit = false; this.gv_typeMemo.Tag = "query_a.type_memo"; @@ -109,7 +109,7 @@ this.gv_typeNo.AppearanceCell.Options.UseFont = true; this.gv_typeNo.Caption = "缂洪櫡绫诲埆缂栧彿"; this.gv_typeNo.FieldName = "typeNo"; - this.gv_typeNo.MinWidth = 100; + this.gv_typeNo.MinWidth = 50; this.gv_typeNo.Name = "gv_typeNo"; this.gv_typeNo.OptionsColumn.AllowEdit = false; this.gv_typeNo.Tag = "query_a.type_no"; @@ -123,7 +123,7 @@ this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true; this.gv_lastupdateDate.Caption = "鏇存柊鏃堕棿"; this.gv_lastupdateDate.FieldName = "lastupdateDate"; - this.gv_lastupdateDate.MinWidth = 180; + this.gv_lastupdateDate.MinWidth = 25; this.gv_lastupdateDate.Name = "gv_lastupdateDate"; this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; this.gv_lastupdateDate.Tag = "query_a.lastupdate_date"; @@ -137,7 +137,7 @@ this.gv_lastupdateBy.AppearanceCell.Options.UseFont = true; this.gv_lastupdateBy.Caption = "鏇存柊浜�"; this.gv_lastupdateBy.FieldName = "lastupdateBy"; - this.gv_lastupdateBy.MinWidth = 50; + this.gv_lastupdateBy.MinWidth = 25; this.gv_lastupdateBy.Name = "gv_lastupdateBy"; this.gv_lastupdateBy.OptionsColumn.AllowEdit = false; this.gv_lastupdateBy.Tag = "query_a.lastupdate_by"; @@ -151,7 +151,7 @@ this.gv_createDate.AppearanceCell.Options.UseFont = true; this.gv_createDate.Caption = "鍒涘缓鏃堕棿"; this.gv_createDate.FieldName = "createDate"; - this.gv_createDate.MinWidth = 180; + this.gv_createDate.MinWidth = 25; this.gv_createDate.Name = "gv_createDate"; this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.create_date"; @@ -165,7 +165,7 @@ this.gv_createBy.AppearanceCell.Options.UseFont = true; this.gv_createBy.Caption = "鍒涘缓浜�"; this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.MinWidth = 50; + this.gv_createBy.MinWidth = 25; this.gv_createBy.Name = "gv_createBy"; this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.create_by"; diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs index 8b9a75c..7f63a38 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesDefectType.cs @@ -216,6 +216,7 @@ lbGuid.Text = _rtn.rtnData; toolBarMenu1.isSetBtn = true; UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + toolBarMenu1.currentAction = ""; } } catch (Exception ex) @@ -249,6 +250,8 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); + gridView1.BestFitColumns(); + gridView1.BestFitColumns(); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs index b141bbb..c2615fa 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.cs @@ -6,7 +6,6 @@ using System; using System.Collections.Generic; using System.Data; -using System.Drawing; using System.Threading.Tasks; using System.Windows.Forms; diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs index 8d9e06c..5d241ef 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesSysLookups.cs @@ -192,6 +192,7 @@ gridViews.Add(gvMx1); UtilityHelper.ChangeEnableByControl(panel1.Controls, false, gridViews); + toolBarMenu1.currentAction = ""; } } catch (Exception ex) -- Gitblit v1.9.3