From a2a57963e160a319276c5c8499f16c9809056e4c Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期日, 17 十一月 2024 21:54:55 +0800 Subject: [PATCH] 修改资产表 --- WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-coefficient/SetElbowCoefficientDlg.Designer.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-coefficient/SetElbowCoefficientDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-coefficient/SetElbowCoefficientDlg.Designer.cs index 1f352b2..2b63e8d 100644 --- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-coefficient/SetElbowCoefficientDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/05-elbow/03-coefficient/SetElbowCoefficientDlg.Designer.cs @@ -40,7 +40,6 @@ BtnOk = new DevExpress.XtraEditors.SimpleButton(); btnCancel = new DevExpress.XtraEditors.SimpleButton(); gridControl1 = new DevExpress.XtraGrid.GridControl(); - sysPropChoiceViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); ColDelete = new DevExpress.XtraGrid.Columns.GridColumn(); repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); @@ -54,10 +53,10 @@ layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); + elbowCoefficientViewModelBindingSource = new BindingSource(components); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)sysPropChoiceViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); @@ -66,6 +65,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)elbowCoefficientViewModelBindingSource).BeginInit(); SuspendLayout(); // // layoutControl1 @@ -107,7 +107,7 @@ // // gridControl1 // - gridControl1.DataSource = sysPropChoiceViewModelBindingSource; + gridControl1.DataSource = elbowCoefficientViewModelBindingSource; gridLevelNode1.RelationName = "Level1"; gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode1 }); gridControl1.Location = new Point(2, 2); @@ -117,10 +117,6 @@ gridControl1.Size = new Size(658, 380); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); - // - // sysPropChoiceViewModelBindingSource - // - sysPropChoiceViewModelBindingSource.DataSource = typeof(ValveCoefficientViewModel); // // gridView1 // @@ -253,6 +249,10 @@ emptySpaceItem2.Size = new Size(352, 26); emptySpaceItem2.TextSize = new Size(0, 0); // + // elbowCoefficientViewModelBindingSource + // + elbowCoefficientViewModelBindingSource.DataSource = typeof(ElbowCoefficientViewModel); + // // SetElbowCoefficientDlg // AutoScaleDimensions = new SizeF(7F, 14F); @@ -265,7 +265,6 @@ ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); - ((System.ComponentModel.ISupportInitialize)sysPropChoiceViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((System.ComponentModel.ISupportInitialize)Root).EndInit(); @@ -274,6 +273,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)elbowCoefficientViewModelBindingSource).EndInit(); ResumeLayout(false); } @@ -290,7 +290,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; - private BindingSource sysPropChoiceViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colChoice; private DevExpress.XtraGrid.Columns.GridColumn colDescription; private DevExpress.XtraGrid.Columns.GridColumn colName; @@ -299,5 +298,6 @@ private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colMaterial; private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; + private BindingSource elbowCoefficientViewModelBindingSource; } } \ No newline at end of file -- Gitblit v1.9.3