| | |
| | | BtnOk = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnCancel = new DevExpress.XtraEditors.SimpleButton(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | sprinklerCoefficientViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | ColDelete = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | 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(); |
| | | 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)sprinklerCoefficientViewModelBindingSource).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 |
| | |
| | | BtnOk.Size = new Size(89, 22); |
| | | BtnOk.StyleController = layoutControl1; |
| | | BtnOk.TabIndex = 2; |
| | | BtnOk.Text = "完成"; |
| | | BtnOk.Text = "确定"; |
| | | BtnOk.Click += BtnOk_Click; |
| | | // |
| | | // btnCancel |
| | |
| | | gridControl1.Size = new Size(658, 380); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // sprinklerCoefficientViewModelBindingSource |
| | | // |
| | | sprinklerCoefficientViewModelBindingSource.DataSource = typeof(SprinklerCoefficientViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | |
| | | 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; |
| | | // |
| | | // gridColumn1 |
| | | // |
| | | gridColumn1.AppearanceCell.Options.UseTextOptions = true; |
| | | gridColumn1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridColumn1.FieldName = "Caliber"; |
| | | gridColumn1.Name = "gridColumn1"; |
| | | gridColumn1.Visible = true; |
| | | gridColumn1.VisibleIndex = 1; |
| | | // |
| | | // colFlowMinorLoss |
| | | // |
| | | colFlowMinorLoss.AppearanceCell.Options.UseTextOptions = true; |
| | | colFlowMinorLoss.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colFlowMinorLoss.FieldName = "FlowMinorLoss"; |
| | | colFlowMinorLoss.Name = "colFlowMinorLoss"; |
| | | colFlowMinorLoss.Visible = true; |
| | | colFlowMinorLoss.VisibleIndex = 3; |
| | | // |
| | | // gridColumn2 |
| | | // |
| | | gridColumn2.AppearanceCell.Options.UseTextOptions = true; |
| | | gridColumn2.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridColumn2.FieldName = "Material"; |
| | | gridColumn2.Name = "gridColumn2"; |
| | | gridColumn2.Visible = true; |
| | | gridColumn2.VisibleIndex = 2; |
| | | // |
| | | // gridColumn3 |
| | | // |
| | | gridColumn3.AppearanceCell.Options.UseTextOptions = true; |
| | | gridColumn3.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridColumn3.FieldName = "MinorLoss"; |
| | | gridColumn3.Name = "gridColumn3"; |
| | | gridColumn3.Visible = true; |
| | | gridColumn3.VisibleIndex = 4; |
| | | // |
| | | // gridColumn4 |
| | | // |
| | | gridColumn4.AppearanceCell.Options.UseTextOptions = true; |
| | | gridColumn4.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridColumn4.FieldName = "Name"; |
| | | gridColumn4.Name = "gridColumn4"; |
| | | gridColumn4.Visible = true; |
| | | gridColumn4.VisibleIndex = 0; |
| | | // |
| | | // 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)sprinklerCoefficientViewModelBindingSource).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); |
| | | } |
| | | |