From 236874a930147c27e46c673d8c1a607f1260e8aa Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 31 三月 2025 12:43:43 +0800 Subject: [PATCH] 追溯码 --- DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs | 49 ++++++++++++++++++++----------------------------- 1 files changed, 20 insertions(+), 29 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs b/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs index 58ecc10..19f70aa 100644 --- a/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/SelectCgMx.Designer.cs @@ -32,7 +32,6 @@ this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.gv_chk = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_ebelnK3id = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_billNo = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -81,7 +80,7 @@ // gcMain // this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(2, 40); this.gcMain.MainView = this.gridView1; this.gcMain.Name = "gcMain"; @@ -94,11 +93,10 @@ // this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.ColumnPanelRowHeight = 50; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_chk, this.gv_guid, this.gv_ebelnK3id, this.gv_billNo, @@ -120,24 +118,16 @@ this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsSelection.CheckBoxSelectorColumnWidth = 60; + this.gridView1.OptionsSelection.MultiSelect = true; + this.gridView1.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect; + this.gridView1.OptionsSelection.ShowCheckBoxSelectorInColumnHeader = DevExpress.Utils.DefaultBoolean.True; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; // - // gv_chk - // - this.gv_chk.Caption = "閫夋嫨"; - this.gv_chk.FieldName = "gvChk"; - this.gv_chk.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; - this.gv_chk.MaxWidth = 50; - this.gv_chk.MinWidth = 50; - this.gv_chk.Name = "gv_chk"; - this.gv_chk.Visible = true; - this.gv_chk.VisibleIndex = 0; - this.gv_chk.Width = 50; - // // gv_guid // - this.gv_guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_guid.AppearanceCell.Options.UseFont = true; this.gv_guid.Caption = "涓婚敭涓嶈兘鍒犻櫎"; this.gv_guid.FieldName = "guid"; @@ -150,7 +140,7 @@ // // gv_ebelnK3id // - this.gv_ebelnK3id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_ebelnK3id.AppearanceCell.Options.UseFont = true; this.gv_ebelnK3id.Caption = "ERP琛孖D鍙�"; this.gv_ebelnK3id.FieldName = "erpMxId"; @@ -163,7 +153,7 @@ // // gv_billNo // - this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_billNo.AppearanceCell.Options.UseFont = true; this.gv_billNo.Caption = "閲囪喘鍗曞彿"; this.gv_billNo.FieldName = "billNo"; @@ -189,7 +179,7 @@ // // gv_supplierItemCode // - this.gv_supplierItemCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_supplierItemCode.AppearanceCell.Options.UseFont = true; this.gv_supplierItemCode.Caption = "鐗╂枡缂栫爜"; this.gv_supplierItemCode.FieldName = "wlbm"; @@ -204,7 +194,7 @@ // // gv_supplierItemName // - this.gv_supplierItemName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_supplierItemName.AppearanceCell.Options.UseFont = true; this.gv_supplierItemName.Caption = "鐗╂枡鍚嶇О"; this.gv_supplierItemName.FieldName = "wlmc"; @@ -270,7 +260,7 @@ // // gv_purchaseUnit // - this.gv_purchaseUnit.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_purchaseUnit.AppearanceCell.Options.UseFont = true; this.gv_purchaseUnit.Caption = "閲囪喘鍗曚綅"; this.gv_purchaseUnit.FieldName = "fname"; @@ -286,7 +276,7 @@ // // gv_remarks // - this.gv_remarks.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remarks.AppearanceCell.Options.UseFont = true; this.gv_remarks.Caption = "澶囨敞"; this.gv_remarks.FieldName = "remarks"; @@ -392,9 +382,11 @@ // // btnIn // - this.btnIn.Dock = System.Windows.Forms.DockStyle.Left; - this.btnIn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.checkbuttons_16x161; - this.btnIn.Location = new System.Drawing.Point(2, 2); + this.btnIn.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; + this.btnIn.Appearance.Options.UseBackColor = true; + this.btnIn.Dock = System.Windows.Forms.DockStyle.Right; + this.btnIn.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.zoom100_16x16; + this.btnIn.Location = new System.Drawing.Point(1028, 2); this.btnIn.Name = "btnIn"; this.btnIn.Size = new System.Drawing.Size(94, 39); this.btnIn.TabIndex = 4; @@ -403,8 +395,8 @@ // pageBar1 // this.pageBar1.CurrentPage = 1; - this.pageBar1.Dock = System.Windows.Forms.DockStyle.Right; - this.pageBar1.Location = new System.Drawing.Point(138, 2); + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Left; + this.pageBar1.Location = new System.Drawing.Point(2, 2); this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; @@ -442,7 +434,6 @@ private DevExpress.XtraEditors.PanelControl panelControl2; private DevExpress.XtraGrid.GridControl gcMain; private DevExpress.XtraGrid.Views.Grid.GridView gridView1; - private DevExpress.XtraGrid.Columns.GridColumn gv_chk; private DevExpress.XtraGrid.Columns.GridColumn gv_guid; private DevExpress.XtraGrid.Columns.GridColumn gv_ebelnK3id; private DevExpress.XtraGrid.Columns.GridColumn gv_billNo; -- Gitblit v1.9.3