| | |
| | | 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(); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | sprinklerCoefficientViewModelBindingSource = new BindingSource(components); |
| | | gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlowMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((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(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)sprinklerCoefficientViewModelBindingSource).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // layoutControl1 |
| | |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = sysPropChoiceViewModelBindingSource; |
| | | gridControl1.DataSource = sprinklerCoefficientViewModelBindingSource; |
| | | 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 |
| | | // |
| | | sysPropChoiceViewModelBindingSource.DataSource = typeof(ValveCoefficientViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { ColDelete, colCaliber, colMaterial, colMinorLoss, colName }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { ColDelete, gridColumn1, colFlowMinorLoss, gridColumn2, gridColumn3, gridColumn4 }); |
| | | gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | |
| | | ColDelete.Name = "ColDelete"; |
| | | ColDelete.OptionsColumn.AllowEdit = false; |
| | | ColDelete.Visible = true; |
| | | ColDelete.VisibleIndex = 4; |
| | | ColDelete.VisibleIndex = 5; |
| | | ColDelete.Width = 47; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.AppearanceCell.Options.UseTextOptions = true; |
| | | colCaliber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 1; |
| | | colCaliber.Width = 134; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.AppearanceCell.Options.UseTextOptions = true; |
| | | colMaterial.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 2; |
| | | colMaterial.Width = 134; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.AppearanceCell.Options.UseTextOptions = true; |
| | | colMinorLoss.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 3; |
| | | colMinorLoss.Width = 134; |
| | | // |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.FieldName = "Name"; |
| | | 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); |
| | | // |
| | | // sprinklerCoefficientViewModelBindingSource |
| | | // |
| | | sprinklerCoefficientViewModelBindingSource.DataSource = typeof(SprinklerCoefficientViewModel); |
| | | // |
| | | // gridColumn1 |
| | | // |
| | | gridColumn1.FieldName = "Caliber"; |
| | | gridColumn1.Name = "gridColumn1"; |
| | | gridColumn1.Visible = true; |
| | | gridColumn1.VisibleIndex = 1; |
| | | // |
| | | // colFlowMinorLoss |
| | | // |
| | | colFlowMinorLoss.FieldName = "FlowMinorLoss"; |
| | | colFlowMinorLoss.Name = "colFlowMinorLoss"; |
| | | colFlowMinorLoss.Visible = true; |
| | | colFlowMinorLoss.VisibleIndex = 3; |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | gridColumn2.FieldName = "Material"; |
| | | gridColumn2.Name = "gridColumn2"; |
| | | gridColumn2.Visible = true; |
| | | gridColumn2.VisibleIndex = 2; |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | gridColumn3.FieldName = "MinorLoss"; |
| | | gridColumn3.Name = "gridColumn3"; |
| | | gridColumn3.Visible = true; |
| | | gridColumn3.VisibleIndex = 4; |
| | | // |
| | | // gridColumn4 |
| | | // |
| | | gridColumn4.FieldName = "Name"; |
| | | gridColumn4.Name = "gridColumn4"; |
| | | gridColumn4.Visible = true; |
| | | gridColumn4.VisibleIndex = 0; |
| | | // |
| | | // SetSprinklerCoefficientDlg |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | ((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(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem2).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)sprinklerCoefficientViewModelBindingSource).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | 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 colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private BindingSource sprinklerCoefficientViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlowMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; |
| | | private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; |
| | | } |
| | | } |