From e890e224a673855f9f609de1094d1701e224e66c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 24 十月 2024 16:19:00 +0800 Subject: [PATCH] 修改阀门管理界面 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.Designer.cs | 168 +++++++++++++++++++++++++------------------------------- 1 files changed, 75 insertions(+), 93 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.Designer.cs index e6db060..ab47861 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.Designer.cs @@ -42,32 +42,30 @@ svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); sidePanel1 = new DevExpress.XtraEditors.SidePanel(); gridControl1 = new DevExpress.XtraGrid.GridControl(); - gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); - dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); - dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); - dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - threeLinkTreeListCtrl1 = new ThreeLinkTreeListCtrl(); threeLinkViewModelBindingSource = new BindingSource(components); - colID = new DevExpress.XtraGrid.Columns.GridColumn(); + gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterialName = new DevExpress.XtraGrid.Columns.GridColumn(); colCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); colRunThroughCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); colBranchThroughCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); - colSortCode = new DevExpress.XtraGrid.Columns.GridColumn(); colKeyWord = new DevExpress.XtraGrid.Columns.GridColumn(); colIsDefault = new DevExpress.XtraGrid.Columns.GridColumn(); colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); + dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); + dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + threeLinkTreeListCtrl1 = new ThreeLinkTreeListCtrl(); ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); sidePanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)threeLinkViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); dockPanel1.SuspendLayout(); dockPanel1_Container.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)threeLinkViewModelBindingSource).BeginInit(); SuspendLayout(); // // ribbonControl1 @@ -172,15 +170,82 @@ gridControl1.TabIndex = 1; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // + // threeLinkViewModelBindingSource + // + threeLinkViewModelBindingSource.DataSource = typeof(ThreeLinkViewModel); + // // gridView1 // gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colCaliber, colMaterialName, colCoefficient, colRunThroughCoefficient, colBranchThroughCoefficient, colSortCode, colKeyWord, colIsDefault, colDescription }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterialName, colCoefficient, colRunThroughCoefficient, colBranchThroughCoefficient, colKeyWord, colIsDefault, colDescription }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsView.ShowGroupPanel = false; + // + // colName + // + colName.FieldName = "Name"; + colName.Name = "colName"; + colName.Visible = true; + colName.VisibleIndex = 0; + // + // colCaliber + // + colCaliber.FieldName = "Caliber"; + colCaliber.Name = "colCaliber"; + colCaliber.Visible = true; + colCaliber.VisibleIndex = 1; + // + // colMaterialName + // + colMaterialName.FieldName = "MaterialName"; + colMaterialName.Name = "colMaterialName"; + colMaterialName.Visible = true; + colMaterialName.VisibleIndex = 2; + // + // colCoefficient + // + colCoefficient.FieldName = "Coefficient"; + colCoefficient.Name = "colCoefficient"; + colCoefficient.Visible = true; + colCoefficient.VisibleIndex = 3; + // + // colRunThroughCoefficient + // + colRunThroughCoefficient.FieldName = "RunThroughCoefficient"; + colRunThroughCoefficient.Name = "colRunThroughCoefficient"; + colRunThroughCoefficient.Visible = true; + colRunThroughCoefficient.VisibleIndex = 4; + // + // colBranchThroughCoefficient + // + colBranchThroughCoefficient.FieldName = "BranchThroughCoefficient"; + colBranchThroughCoefficient.Name = "colBranchThroughCoefficient"; + colBranchThroughCoefficient.Visible = true; + colBranchThroughCoefficient.VisibleIndex = 5; + // + // colKeyWord + // + colKeyWord.FieldName = "KeyWord"; + colKeyWord.Name = "colKeyWord"; + colKeyWord.Visible = true; + colKeyWord.VisibleIndex = 6; + // + // colIsDefault + // + colIsDefault.FieldName = "IsDefault"; + colIsDefault.Name = "colIsDefault"; + colIsDefault.Visible = true; + colIsDefault.VisibleIndex = 8; + // + // colDescription + // + colDescription.FieldName = "Description"; + colDescription.Name = "colDescription"; + colDescription.Visible = true; + colDescription.VisibleIndex = 7; // // dockManager1 // @@ -219,87 +284,6 @@ threeLinkTreeListCtrl1.Size = new Size(193, 491); threeLinkTreeListCtrl1.TabIndex = 0; // - // threeLinkViewModelBindingSource - // - threeLinkViewModelBindingSource.DataSource = typeof(ThreeLinkViewModel); - // - // colID - // - colID.FieldName = "ID"; - colID.Name = "colID"; - colID.Visible = true; - colID.VisibleIndex = 0; - // - // colName - // - colName.FieldName = "Name"; - colName.Name = "colName"; - colName.Visible = true; - colName.VisibleIndex = 1; - // - // colCaliber - // - colCaliber.FieldName = "Caliber"; - colCaliber.Name = "colCaliber"; - colCaliber.Visible = true; - colCaliber.VisibleIndex = 2; - // - // colMaterialName - // - colMaterialName.FieldName = "MaterialName"; - colMaterialName.Name = "colMaterialName"; - colMaterialName.Visible = true; - colMaterialName.VisibleIndex = 3; - // - // colCoefficient - // - colCoefficient.FieldName = "Coefficient"; - colCoefficient.Name = "colCoefficient"; - colCoefficient.Visible = true; - colCoefficient.VisibleIndex = 4; - // - // colRunThroughCoefficient - // - colRunThroughCoefficient.FieldName = "RunThroughCoefficient"; - colRunThroughCoefficient.Name = "colRunThroughCoefficient"; - colRunThroughCoefficient.Visible = true; - colRunThroughCoefficient.VisibleIndex = 5; - // - // colBranchThroughCoefficient - // - colBranchThroughCoefficient.FieldName = "BranchThroughCoefficient"; - colBranchThroughCoefficient.Name = "colBranchThroughCoefficient"; - colBranchThroughCoefficient.Visible = true; - colBranchThroughCoefficient.VisibleIndex = 6; - // - // colSortCode - // - colSortCode.FieldName = "SortCode"; - colSortCode.Name = "colSortCode"; - colSortCode.Visible = true; - colSortCode.VisibleIndex = 7; - // - // colKeyWord - // - colKeyWord.FieldName = "KeyWord"; - colKeyWord.Name = "colKeyWord"; - colKeyWord.Visible = true; - colKeyWord.VisibleIndex = 8; - // - // colIsDefault - // - colIsDefault.FieldName = "IsDefault"; - colIsDefault.Name = "colIsDefault"; - colIsDefault.Visible = true; - colIsDefault.VisibleIndex = 9; - // - // colDescription - // - colDescription.FieldName = "Description"; - colDescription.Name = "colDescription"; - colDescription.Visible = true; - colDescription.VisibleIndex = 10; - // // ThreeLinkManageMainPage // Appearance.BackColor = SystemColors.Control; @@ -315,11 +299,11 @@ sidePanel1.ResumeLayout(false); sidePanel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); + ((System.ComponentModel.ISupportInitialize)threeLinkViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); dockPanel1.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)threeLinkViewModelBindingSource).EndInit(); ResumeLayout(false); } @@ -343,14 +327,12 @@ private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2; private ThreeLinkTreeListCtrl threeLinkTreeListCtrl1; private BindingSource threeLinkViewModelBindingSource; - private DevExpress.XtraGrid.Columns.GridColumn colID; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colMaterialName; private DevExpress.XtraGrid.Columns.GridColumn colCoefficient; private DevExpress.XtraGrid.Columns.GridColumn colRunThroughCoefficient; private DevExpress.XtraGrid.Columns.GridColumn colBranchThroughCoefficient; - private DevExpress.XtraGrid.Columns.GridColumn colSortCode; private DevExpress.XtraGrid.Columns.GridColumn colKeyWord; private DevExpress.XtraGrid.Columns.GridColumn colIsDefault; private DevExpress.XtraGrid.Columns.GridColumn colDescription; -- Gitblit v1.9.3