| | |
| | | components = new System.ComponentModel.Container(); |
| | | DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetValveCoefficientDlg)); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetFourlinkCoefficientDlg)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | sysPropChoiceViewModelBindingSource = new BindingSource(components); |
| | | fourlinkCoefficientViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | ColDelete = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)sysPropChoiceViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)fourlinkCoefficientViewModelBindingSource).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | |
| | | BtnOk.Size = new Size(89, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 2; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.Text = "确定"; |
| | | BtnOk.Click += BtnOk_Click; |
| | | // |
| | | // btnCancel |
| | | // |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(565, 386); |
| | |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = sysPropChoiceViewModelBindingSource; |
| | | gridControl1.DataSource = fourlinkCoefficientViewModelBindingSource; |
| | | gridLevelNode1.RelationName = "Level1"; |
| | | gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode1 }); |
| | | gridControl1.Location = new Point(2, 2); |
| | |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // sysPropChoiceViewModelBindingSource |
| | | // fourlinkCoefficientViewModelBindingSource |
| | | // |
| | | sysPropChoiceViewModelBindingSource.DataSource = typeof(ValveCoefficientViewModel); |
| | | fourlinkCoefficientViewModelBindingSource.DataSource = typeof(FourlinkCoefficientViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | colCaliber.Width = 134; |
| | | // |
| | | // colMaterial |
| | | // |
| | |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.Width = 134; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 3; |
| | | colMinorLoss.Width = 134; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 259; |
| | | // |
| | | // Root |
| | | // |
| | |
| | | emptySpaceItem2.Size = new Size(352, 26); |
| | | emptySpaceItem2.TextSize = new Size(0, 0); |
| | | // |
| | | // SetValveCoefficientDlg |
| | | // SetFourlinkCoefficientDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(662, 410); |
| | | Controls.Add(layoutControl1); |
| | | Name = "SetValveCoefficientDlg"; |
| | | Name = "SetFourlinkCoefficientDlg"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "设置阀门系数"; |
| | | Text = "设置局阻系数"; |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)gridControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)sysPropChoiceViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)fourlinkCoefficientViewModelBindingSource).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)gridView1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | |
| | | 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; |
| | | private DevExpress.XtraGrid.Columns.GridColumn ColDelete; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private BindingSource fourlinkCoefficientViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | } |
| | | } |