From d70880a3d9ae6c9f99ec380ccd16f5524bb622e6 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期六, 05 四月 2025 09:06:31 +0800 Subject: [PATCH] 修改按钮状态 --- DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs | 67 +++++++++++++-------------------- 1 files changed, 26 insertions(+), 41 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs index 88be0ad..e47f475 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Jyxm.Designer.cs @@ -106,10 +106,10 @@ this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1pid = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gvMx1forder = new DevExpress.XtraGrid.Columns.GridColumn(); - this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gvMx1fcheckItem = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYXM = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); + this.gvMx1forder = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1memo = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1fcheckTool = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -190,8 +190,8 @@ this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).BeginInit(); @@ -377,7 +377,7 @@ // gv_itemNo // this.gv_itemNo.AppearanceCell.Options.UseFont = true; - this.gv_itemNo.Caption = "鐗╂枡浜у搧缂栫爜"; + this.gv_itemNo.Caption = "鐗╂枡缂栫爜"; this.gv_itemNo.FieldName = "itemNo"; this.gv_itemNo.MinWidth = 50; this.gv_itemNo.Name = "gv_itemNo"; @@ -943,8 +943,8 @@ this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx1guid, this.gvMx1pid, - this.gvMx1forder, this.gvMx1fcheckItem, + this.gvMx1forder, this.gridColumn5, this.gvMx1memo, this.gvMx1fcheckTool, @@ -969,7 +969,6 @@ this.gvMx1guid.AppearanceCell.Options.UseFont = true; this.gvMx1guid.Caption = "guid"; this.gvMx1guid.FieldName = "guid"; - this.gvMx1guid.MinWidth = 50; this.gvMx1guid.Name = "gvMx1guid"; this.gvMx1guid.Tag = "query_a.guid"; this.gvMx1guid.Width = 94; @@ -979,10 +978,28 @@ this.gvMx1pid.AppearanceCell.Options.UseFont = true; this.gvMx1pid.Caption = "pid"; this.gvMx1pid.FieldName = "pid"; - this.gvMx1pid.MinWidth = 50; this.gvMx1pid.Name = "gvMx1pid"; this.gvMx1pid.Tag = "query_a.pid"; this.gvMx1pid.Width = 94; + // + // gvMx1fcheckItem + // + this.gvMx1fcheckItem.AppearanceCell.Options.UseFont = true; + this.gvMx1fcheckItem.Caption = "妫�楠岄」鐩�"; + this.gvMx1fcheckItem.ColumnEdit = this.rptJYXM; + this.gvMx1fcheckItem.FieldName = "fcheckItem"; + this.gvMx1fcheckItem.Name = "gvMx1fcheckItem"; + this.gvMx1fcheckItem.Tag = "edit"; + this.gvMx1fcheckItem.Visible = true; + this.gvMx1fcheckItem.VisibleIndex = 0; + this.gvMx1fcheckItem.Width = 150; + // + // rptJYXM + // + this.rptJYXM.AutoHeight = false; + this.rptJYXM.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.rptJYXM.Name = "rptJYXM"; // // gvMx1forder // @@ -990,11 +1007,10 @@ this.gvMx1forder.Caption = "椤哄簭"; this.gvMx1forder.ColumnEdit = this.repositoryItemComboBox1; this.gvMx1forder.FieldName = "forder"; - this.gvMx1forder.MinWidth = 50; this.gvMx1forder.Name = "gvMx1forder"; this.gvMx1forder.Tag = "yz_quantity_0_edit"; this.gvMx1forder.Visible = true; - this.gvMx1forder.VisibleIndex = 0; + this.gvMx1forder.VisibleIndex = 1; this.gvMx1forder.Width = 50; // // repositoryItemComboBox1 @@ -1020,31 +1036,10 @@ "15"}); this.repositoryItemComboBox1.Name = "repositoryItemComboBox1"; // - // gvMx1fcheckItem - // - this.gvMx1fcheckItem.AppearanceCell.Options.UseFont = true; - this.gvMx1fcheckItem.Caption = "妫�楠岄」鐩�"; - this.gvMx1fcheckItem.ColumnEdit = this.rptJYXM; - this.gvMx1fcheckItem.FieldName = "fcheckItem"; - this.gvMx1fcheckItem.MinWidth = 150; - this.gvMx1fcheckItem.Name = "gvMx1fcheckItem"; - this.gvMx1fcheckItem.Tag = "edit"; - this.gvMx1fcheckItem.Visible = true; - this.gvMx1fcheckItem.VisibleIndex = 1; - this.gvMx1fcheckItem.Width = 150; - // - // rptJYXM - // - this.rptJYXM.AutoHeight = false; - this.rptJYXM.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.rptJYXM.Name = "rptJYXM"; - // // gridColumn5 // this.gridColumn5.Caption = "瑙勬牸瑕佹眰"; this.gridColumn5.FieldName = "fspecRequ"; - this.gridColumn5.MinWidth = 150; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Tag = "edit"; this.gridColumn5.Visible = true; @@ -1056,7 +1051,6 @@ this.gvMx1memo.AppearanceCell.Options.UseFont = true; this.gvMx1memo.Caption = "妫�楠岄」鐩弿杩�"; this.gvMx1memo.FieldName = "memo"; - this.gvMx1memo.MinWidth = 150; this.gvMx1memo.Name = "gvMx1memo"; this.gvMx1memo.Tag = "edit"; this.gvMx1memo.Visible = true; @@ -1069,7 +1063,6 @@ this.gvMx1fcheckTool.Caption = "妫�楠屽伐鍏�"; this.gvMx1fcheckTool.ColumnEdit = this.rptJYGJ; this.gvMx1fcheckTool.FieldName = "fcheckTool"; - this.gvMx1fcheckTool.MinWidth = 150; this.gvMx1fcheckTool.Name = "gvMx1fcheckTool"; this.gvMx1fcheckTool.Tag = "edit"; this.gvMx1fcheckTool.Visible = true; @@ -1090,7 +1083,6 @@ this.gvMx1sampleSizeNo.Caption = "妫�楠屾爣鍑嗗悕绉�"; this.gvMx1sampleSizeNo.ColumnEdit = this.rptJYBZ; this.gvMx1sampleSizeNo.FieldName = "sampleSizeName"; - this.gvMx1sampleSizeNo.MinWidth = 150; this.gvMx1sampleSizeNo.Name = "gvMx1sampleSizeNo"; this.gvMx1sampleSizeNo.Tag = "edit"; this.gvMx1sampleSizeNo.Visible = true; @@ -1110,7 +1102,6 @@ // this.sampleSizeName.Caption = "妫�楠屾爣鍑嗙紪鐮�"; this.sampleSizeName.FieldName = "sampleSizeNo"; - this.sampleSizeName.MinWidth = 150; this.sampleSizeName.Name = "sampleSizeName"; this.sampleSizeName.OptionsColumn.ReadOnly = true; this.sampleSizeName.Tag = "edit"; @@ -1124,7 +1115,6 @@ this.gvMx1fcheckLevel.Caption = "妫�楠屾按骞�"; this.gvMx1fcheckLevel.ColumnEdit = this.rptJYSP; this.gvMx1fcheckLevel.FieldName = "fcheckLevel"; - this.gvMx1fcheckLevel.MinWidth = 200; this.gvMx1fcheckLevel.Name = "gvMx1fcheckLevel"; this.gvMx1fcheckLevel.Tag = "edit"; this.gvMx1fcheckLevel.Visible = true; @@ -1145,7 +1135,6 @@ this.gvMx1facLevel.Caption = "鎺ユ敹姘村钩"; this.gvMx1facLevel.ColumnEdit = this.rptJSSP; this.gvMx1facLevel.FieldName = "facLevel"; - this.gvMx1facLevel.MinWidth = 150; this.gvMx1facLevel.Name = "gvMx1facLevel"; this.gvMx1facLevel.Tag = "edit"; this.gvMx1facLevel.Visible = true; @@ -1165,7 +1154,6 @@ this.gvMx1fupAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fupAllow.Caption = "涓婇檺"; this.gvMx1fupAllow.FieldName = "fupAllow"; - this.gvMx1fupAllow.MinWidth = 60; this.gvMx1fupAllow.Name = "gvMx1fupAllow"; this.gvMx1fupAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fupAllow.Visible = true; @@ -1177,7 +1165,6 @@ this.gvMx1fstand.AppearanceCell.Options.UseFont = true; this.gvMx1fstand.Caption = "鏍囧噯鍊�"; this.gvMx1fstand.FieldName = "fstand"; - this.gvMx1fstand.MinWidth = 60; this.gvMx1fstand.Name = "gvMx1fstand"; this.gvMx1fstand.Tag = "yz_quantity_0_edit"; this.gvMx1fstand.Visible = true; @@ -1189,7 +1176,6 @@ this.gvMx1fdownAllow.AppearanceCell.Options.UseFont = true; this.gvMx1fdownAllow.Caption = "涓嬮檺"; this.gvMx1fdownAllow.FieldName = "fdownAllow"; - this.gvMx1fdownAllow.MinWidth = 60; this.gvMx1fdownAllow.Name = "gvMx1fdownAllow"; this.gvMx1fdownAllow.Tag = "yz_quantity_0_edit"; this.gvMx1fdownAllow.Visible = true; @@ -1200,7 +1186,6 @@ // this.gridColumn19.Caption = "鏍峰搧鍩烘暟"; this.gridColumn19.FieldName = "ypsl"; - this.gridColumn19.MinWidth = 25; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Tag = "edit"; this.gridColumn19.Visible = true; @@ -1453,8 +1438,8 @@ this.tabMxPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYXM)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYGJ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYSP)).EndInit(); -- Gitblit v1.9.3