From e7df5d1ece7ecabaa7a3943f24a6621649fdc455 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 13 一月 2025 16:08:11 +0800 Subject: [PATCH] 增加批量添加,修改阀门界面 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/02-main/AssetsPipeMainMgrPage.Designer.cs | 50 ++++++++++---------------------------------------- 1 files changed, 10 insertions(+), 40 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/02-main/AssetsPipeMainMgrPage.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/02-main/AssetsPipeMainMgrPage.Designer.cs index f346abc..f5adf5b 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/02-main/AssetsPipeMainMgrPage.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/04-pipe/02-main/AssetsPipeMainMgrPage.Designer.cs @@ -56,7 +56,6 @@ gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); colID = new DevExpress.XtraGrid.Columns.GridColumn(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); - colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); colKeyWords = new DevExpress.XtraGrid.Columns.GridColumn(); colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -66,11 +65,9 @@ repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); + colHazen = new DevExpress.XtraGrid.Columns.GridColumn(); behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); - colDarcy = new DevExpress.XtraGrid.Columns.GridColumn(); - colHazen = new DevExpress.XtraGrid.Columns.GridColumn(); - colManning = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)ribbonControl1).BeginInit(); ((ISupportInitialize)panelControl1).BeginInit(); panelControl1.SuspendLayout(); @@ -242,7 +239,7 @@ // gridView1 // behaviorManager1.SetBehaviors(gridView1, new DevExpress.Utils.Behaviors.Behavior[] { DevExpress.Utils.DragDrop.DragDropBehavior.Create(typeof(DevExpress.XtraGrid.Extensions.ColumnViewDragDropSource), true, true, true, true, dragDropEvents1) }); - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colMinorLoss, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colDarcy, colHazen, colManning }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colID, colName, colKeyWords, colFlags, colTagName, colSortCode, colDescription, colDetail, colMaterial, colCaliber, colHazen }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; // @@ -264,23 +261,13 @@ colName.VisibleIndex = 0; colName.Width = 150; // - // colMinorLoss - // - colMinorLoss.FieldName = "MinorLoss"; - colMinorLoss.MaxWidth = 100; - colMinorLoss.MinWidth = 100; - colMinorLoss.Name = "colMinorLoss"; - colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 6; - colMinorLoss.Width = 100; - // // colKeyWords // colKeyWords.FieldName = "KeyWords"; colKeyWords.MinWidth = 100; colKeyWords.Name = "colKeyWords"; colKeyWords.Visible = true; - colKeyWords.VisibleIndex = 7; + colKeyWords.VisibleIndex = 4; colKeyWords.Width = 100; // // colFlags @@ -289,7 +276,7 @@ colFlags.MinWidth = 100; colFlags.Name = "colFlags"; colFlags.Visible = true; - colFlags.VisibleIndex = 8; + colFlags.VisibleIndex = 5; colFlags.Width = 100; // // colTagName @@ -298,7 +285,7 @@ colTagName.MinWidth = 100; colTagName.Name = "colTagName"; colTagName.Visible = true; - colTagName.VisibleIndex = 9; + colTagName.VisibleIndex = 6; colTagName.Width = 100; // // colSortCode @@ -315,7 +302,7 @@ colDescription.MinWidth = 100; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 10; + colDescription.VisibleIndex = 7; colDescription.Width = 100; // // colDetail @@ -326,7 +313,7 @@ colDetail.MinWidth = 60; colDetail.Name = "colDetail"; colDetail.Visible = true; - colDetail.VisibleIndex = 11; + colDetail.VisibleIndex = 8; colDetail.Width = 60; // // repositoryItemButtonEdit1 @@ -352,30 +339,16 @@ colCaliber.Visible = true; colCaliber.VisibleIndex = 1; // - // dragDropEvents1 - // - dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; - // - // colDarcy - // - colDarcy.FieldName = "Darcy"; - colDarcy.Name = "colDarcy"; - colDarcy.Visible = true; - colDarcy.VisibleIndex = 3; - // // colHazen // colHazen.FieldName = "Hazen"; colHazen.Name = "colHazen"; colHazen.Visible = true; - colHazen.VisibleIndex = 4; + colHazen.VisibleIndex = 3; // - // colManning + // dragDropEvents1 // - colManning.FieldName = "Manning"; - colManning.Name = "colManning"; - colManning.Visible = true; - colManning.VisibleIndex = 5; + dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; // // AssetsPipeMainMgrPage // @@ -431,12 +404,9 @@ private DevExpress.XtraGrid.Columns.GridColumn colTagName; private DevExpress.Utils.Behaviors.BehaviorManager behaviorManager1; private DevExpress.Utils.DragDrop.DragDropEvents dragDropEvents1; - private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; private BindingSource assetsPipeMainMgrViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colCaliber; - private DevExpress.XtraGrid.Columns.GridColumn colDarcy; private DevExpress.XtraGrid.Columns.GridColumn colHazen; - private DevExpress.XtraGrid.Columns.GridColumn colManning; } } -- Gitblit v1.9.3