| | |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroPipeListCtrl)); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroPipeViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | colCalcuMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuFrictionLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroPipeViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colMaterial, colDiameter, colLength, colRoughness, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colSet }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colMaterial, colDiameter, colLength, colRoughness, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colCalcuMinorLoss, colCalcuFrictionLoss, colSet }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | |
| | | colSet.MinWidth = 60; |
| | | colSet.Name = "colSet"; |
| | | colSet.Visible = true; |
| | | colSet.VisibleIndex = 15; |
| | | colSet.VisibleIndex = 17; |
| | | colSet.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(20, 20); |
| | | 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) }); |
| | | editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); |
| | | editorButtonImageOptions2.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | |
| | | layoutControlItem9.TextSize = new Size(0, 0); |
| | | layoutControlItem9.TextVisible = false; |
| | | // |
| | | // colCalcuMinorLoss |
| | | // |
| | | colCalcuMinorLoss.FieldName = "CalcuMinorLoss"; |
| | | colCalcuMinorLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuMinorLoss.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuMinorLoss.ImageOptions.SvgImage"); |
| | | colCalcuMinorLoss.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuMinorLoss.MaxWidth = 100; |
| | | colCalcuMinorLoss.MinWidth = 100; |
| | | colCalcuMinorLoss.Name = "colCalcuMinorLoss"; |
| | | colCalcuMinorLoss.Visible = true; |
| | | colCalcuMinorLoss.VisibleIndex = 15; |
| | | colCalcuMinorLoss.Width = 100; |
| | | // |
| | | // colCalcuFrictionLoss |
| | | // |
| | | colCalcuFrictionLoss.FieldName = "CalcuFrictionLoss"; |
| | | colCalcuFrictionLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuFrictionLoss.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuFrictionLoss.ImageOptions.SvgImage"); |
| | | colCalcuFrictionLoss.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuFrictionLoss.MaxWidth = 100; |
| | | colCalcuFrictionLoss.MinWidth = 100; |
| | | colCalcuFrictionLoss.Name = "colCalcuFrictionLoss"; |
| | | colCalcuFrictionLoss.Visible = true; |
| | | colCalcuFrictionLoss.VisibleIndex = 16; |
| | | colCalcuFrictionLoss.Width = 100; |
| | | // |
| | | // HydroPipeListCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuFrictionLoss; |
| | | } |
| | | } |