From 7d17fabc46e87ea0f0896f760034f4d16a4dfed0 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 20 九月 2024 13:20:57 +0800 Subject: [PATCH] 提交修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/FourLinkMatchingCtrl.Designer.cs | 42 ++++++++++++------------------------------ 1 files changed, 12 insertions(+), 30 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/FourLinkMatchingCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/FourLinkMatchingCtrl.Designer.cs index d4a767b..5cfa1a2 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/FourLinkMatchingCtrl.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/02-AsstesFormCtrl/FourLinkMatchingCtrl.Designer.cs @@ -30,18 +30,16 @@ { components = new Container(); gridControl1 = new DevExpress.XtraGrid.GridControl(); + fourLinkMatchingViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); - colDbid = new DevExpress.XtraGrid.Columns.GridColumn(); colCode = new DevExpress.XtraGrid.Columns.GridColumn(); - colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); - fourLinkMatchingViewModelBindingSource = new BindingSource(components); ((ISupportInitialize)gridControl1).BeginInit(); - ((ISupportInitialize)gridView1).BeginInit(); ((ISupportInitialize)fourLinkMatchingViewModelBindingSource).BeginInit(); + ((ISupportInitialize)gridView1).BeginInit(); SuspendLayout(); // // gridControl1 @@ -55,9 +53,13 @@ gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // + // fourLinkMatchingViewModelBindingSource + // + fourLinkMatchingViewModelBindingSource.DataSource = typeof(FourLinkMatchingViewModel); + // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDbid, colCode, colModelType, colMaterial, colCaliber, colDbLocked }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCode, colMaterial, colCaliber, colDbLocked }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; @@ -69,51 +71,33 @@ colName.Visible = true; colName.VisibleIndex = 0; // - // colDbid - // - colDbid.FieldName = "Dbid"; - colDbid.Name = "colDbid"; - colDbid.Visible = true; - colDbid.VisibleIndex = 1; - // // colCode // colCode.FieldName = "Code"; colCode.Name = "colCode"; colCode.Visible = true; - colCode.VisibleIndex = 2; - // - // colModelType - // - colModelType.FieldName = "ModelType"; - colModelType.Name = "colModelType"; - colModelType.Visible = true; - colModelType.VisibleIndex = 3; + colCode.VisibleIndex = 1; // // colMaterial // colMaterial.FieldName = "Material"; colMaterial.Name = "colMaterial"; colMaterial.Visible = true; - colMaterial.VisibleIndex = 4; + colMaterial.VisibleIndex = 2; // // colCaliber // colCaliber.FieldName = "Caliber"; colCaliber.Name = "colCaliber"; colCaliber.Visible = true; - colCaliber.VisibleIndex = 5; + colCaliber.VisibleIndex = 3; // // colDbLocked // colDbLocked.FieldName = "DbLocked"; colDbLocked.Name = "colDbLocked"; colDbLocked.Visible = true; - colDbLocked.VisibleIndex = 6; - // - // fourLinkMatchingViewModelBindingSource - // - fourLinkMatchingViewModelBindingSource.DataSource = typeof(FourLinkMatchingViewModel); + colDbLocked.VisibleIndex = 4; // // FourLinkMatchingCtrl // @@ -123,8 +107,8 @@ Name = "FourLinkMatchingCtrl"; Size = new Size(1035, 503); ((ISupportInitialize)gridControl1).EndInit(); - ((ISupportInitialize)gridView1).EndInit(); ((ISupportInitialize)fourLinkMatchingViewModelBindingSource).EndInit(); + ((ISupportInitialize)gridView1).EndInit(); ResumeLayout(false); } @@ -133,9 +117,7 @@ private DevExpress.XtraGrid.GridControl gridControl1; private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private DevExpress.XtraGrid.Columns.GridColumn colName; - private DevExpress.XtraGrid.Columns.GridColumn colDbid; private DevExpress.XtraGrid.Columns.GridColumn colCode; - private DevExpress.XtraGrid.Columns.GridColumn colModelType; private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; -- Gitblit v1.9.3