| | |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroValveListCtrl)); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | 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(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroValveViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colLinkStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuVelocity = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuHeadLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuVelocity = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuHeadLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSet = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | colCalcuMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuFrictionLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroValveViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colValveType, colLinkStatus, colMaterial, colDiameter, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colSet }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colValveType, colLinkStatus, colMaterial, colDiameter, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colCalcuMinorLoss, colCalcuFrictionLoss, colSet }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colValveType |
| | | // |
| | | colValveType.FieldName = "ValveType"; |
| | | colValveType.MaxWidth = 100; |
| | | colValveType.MinWidth = 100; |
| | | colValveType.Name = "colValveType"; |
| | | colValveType.Visible = true; |
| | | colValveType.VisibleIndex = 4; |
| | | colValveType.Width = 100; |
| | | // |
| | | // colLinkStatus |
| | | // |
| | | colLinkStatus.FieldName = "LinkStatus"; |
| | |
| | | colMinorLoss.VisibleIndex = 8; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colValveType |
| | | // colHasDb |
| | | // |
| | | colValveType.FieldName = "ValveType"; |
| | | colValveType.MaxWidth = 100; |
| | | colValveType.MinWidth = 100; |
| | | colValveType.Name = "colValveType"; |
| | | colValveType.Visible = true; |
| | | colValveType.VisibleIndex = 4; |
| | | colValveType.Width = 100; |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 40; |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 9; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.MaxWidth = 200; |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 10; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 11; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colCalcuFlow |
| | | // |
| | |
| | | colCalcuHeadLoss.VisibleIndex = 14; |
| | | colCalcuHeadLoss.Width = 100; |
| | | // |
| | | // colHasDb |
| | | // |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 40; |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 12; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.MaxWidth = 200; |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 13; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 14; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colSet |
| | | // |
| | | colSet.Caption = "设置"; |
| | |
| | | colSet.MinWidth = 60; |
| | | colSet.Name = "colSet"; |
| | | colSet.Visible = true; |
| | | colSet.VisibleIndex = 15; |
| | | colSet.VisibleIndex = 17; |
| | | colSet.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions3.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions3.SvgImage"); |
| | | editorButtonImageOptions3.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, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | 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) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.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; |
| | | // |
| | | // HydroValveListCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuFrictionLoss; |
| | | } |
| | | } |