| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroExchangerListCtrl)); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroExchangerListCtrl)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colLinkStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colResistanceMode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCurve = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCurveQL = 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(); |
| | | colCalcuQ = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuPr1 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuPr2 = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuMinorLoss = 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(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | colBeginGroup = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroExchangerViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colLinkStatus, colMaterial, colDiameter, colMinorLoss, colCurve, colHasDb, colFlags, colDescription, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colSet }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colBeginGroup, colName, colCode, colModelType, colResistanceMode, colMaterial, colDiameter, colMinorLoss, colCurveQL, colHasDb, colFlags, colDescription, colCalcuQ, colCalcuPr1, colCalcuPr2, colCalcuMinorLoss, colSet }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | |
| | | colName.MinWidth = 100; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 1; |
| | | colName.VisibleIndex = 2; |
| | | colName.Width = 100; |
| | | // |
| | | // colCode |
| | |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.VisibleIndex = 3; |
| | | colCode.Width = 100; |
| | | // |
| | | // colModelType |
| | |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.VisibleIndex = 4; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colLinkStatus |
| | | // colResistanceMode |
| | | // |
| | | colLinkStatus.FieldName = "LinkStatus"; |
| | | colLinkStatus.MaxWidth = 100; |
| | | colLinkStatus.MinWidth = 100; |
| | | colLinkStatus.Name = "colLinkStatus"; |
| | | colLinkStatus.Visible = true; |
| | | colLinkStatus.VisibleIndex = 4; |
| | | colLinkStatus.Width = 100; |
| | | colResistanceMode.FieldName = "ResistanceMode"; |
| | | colResistanceMode.MaxWidth = 100; |
| | | colResistanceMode.MinWidth = 100; |
| | | colResistanceMode.Name = "colResistanceMode"; |
| | | colResistanceMode.Visible = true; |
| | | colResistanceMode.VisibleIndex = 5; |
| | | colResistanceMode.Width = 100; |
| | | // |
| | | // colMaterial |
| | | // |
| | |
| | | colMaterial.MinWidth = 100; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 5; |
| | | colMaterial.VisibleIndex = 6; |
| | | colMaterial.Width = 100; |
| | | // |
| | | // colDiameter |
| | |
| | | colDiameter.MinWidth = 100; |
| | | colDiameter.Name = "colDiameter"; |
| | | colDiameter.Visible = true; |
| | | colDiameter.VisibleIndex = 6; |
| | | colDiameter.VisibleIndex = 7; |
| | | colDiameter.Width = 100; |
| | | // |
| | | // colMinorLoss |
| | |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 7; |
| | | colMinorLoss.VisibleIndex = 8; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colCurve |
| | | // colCurveQL |
| | | // |
| | | colCurve.FieldName = "Curve"; |
| | | colCurve.MaxWidth = 100; |
| | | colCurve.MinWidth = 100; |
| | | colCurve.Name = "colCurve"; |
| | | colCurve.Visible = true; |
| | | colCurve.VisibleIndex = 8; |
| | | colCurve.Width = 100; |
| | | colCurveQL.FieldName = "CurveQL"; |
| | | colCurveQL.MaxWidth = 100; |
| | | colCurveQL.MinWidth = 100; |
| | | colCurveQL.Name = "colCurveQL"; |
| | | colCurveQL.Visible = true; |
| | | colCurveQL.VisibleIndex = 9; |
| | | colCurveQL.Width = 100; |
| | | // |
| | | // colHasDb |
| | | // |
| | |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 9; |
| | | colHasDb.VisibleIndex = 10; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colFlags |
| | |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 10; |
| | | colFlags.VisibleIndex = 11; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colDescription |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 11; |
| | | colDescription.VisibleIndex = 12; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colCalcuFlow |
| | | // colCalcuQ |
| | | // |
| | | colCalcuFlow.FieldName = "CalcuFlow"; |
| | | colCalcuFlow.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuFlow.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuFlow.ImageOptions.SvgImage"); |
| | | colCalcuFlow.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuFlow.MaxWidth = 100; |
| | | colCalcuFlow.MinWidth = 100; |
| | | colCalcuFlow.Name = "colCalcuFlow"; |
| | | colCalcuFlow.Visible = true; |
| | | colCalcuFlow.VisibleIndex = 12; |
| | | colCalcuFlow.Width = 100; |
| | | colCalcuQ.FieldName = "CalcuQ"; |
| | | colCalcuQ.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuQ.MaxWidth = 100; |
| | | colCalcuQ.MinWidth = 100; |
| | | colCalcuQ.Name = "colCalcuQ"; |
| | | colCalcuQ.Visible = true; |
| | | colCalcuQ.VisibleIndex = 13; |
| | | colCalcuQ.Width = 100; |
| | | // |
| | | // colCalcuVelocity |
| | | // colCalcuPr1 |
| | | // |
| | | colCalcuVelocity.FieldName = "CalcuVelocity"; |
| | | colCalcuVelocity.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuVelocity.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuVelocity.ImageOptions.SvgImage"); |
| | | colCalcuVelocity.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuVelocity.MaxWidth = 100; |
| | | colCalcuVelocity.MinWidth = 100; |
| | | colCalcuVelocity.Name = "colCalcuVelocity"; |
| | | colCalcuVelocity.Visible = true; |
| | | colCalcuVelocity.VisibleIndex = 13; |
| | | colCalcuVelocity.Width = 100; |
| | | colCalcuPr1.FieldName = "CalcuPr1"; |
| | | colCalcuPr1.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuPr1.MaxWidth = 100; |
| | | colCalcuPr1.MinWidth = 100; |
| | | colCalcuPr1.Name = "colCalcuPr1"; |
| | | colCalcuPr1.Visible = true; |
| | | colCalcuPr1.VisibleIndex = 14; |
| | | colCalcuPr1.Width = 100; |
| | | // |
| | | // colCalcuHeadLoss |
| | | // colCalcuPr2 |
| | | // |
| | | colCalcuHeadLoss.FieldName = "CalcuHeadLoss"; |
| | | colCalcuHeadLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuHeadLoss.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuHeadLoss.ImageOptions.SvgImage"); |
| | | colCalcuHeadLoss.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuHeadLoss.MaxWidth = 100; |
| | | colCalcuHeadLoss.MinWidth = 100; |
| | | colCalcuHeadLoss.Name = "colCalcuHeadLoss"; |
| | | colCalcuHeadLoss.Visible = true; |
| | | colCalcuHeadLoss.VisibleIndex = 14; |
| | | colCalcuHeadLoss.Width = 100; |
| | | colCalcuPr2.FieldName = "CalcuPr2"; |
| | | colCalcuPr2.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuPr2.MaxWidth = 100; |
| | | colCalcuPr2.MinWidth = 100; |
| | | colCalcuPr2.Name = "colCalcuPr2"; |
| | | colCalcuPr2.Visible = true; |
| | | colCalcuPr2.VisibleIndex = 15; |
| | | colCalcuPr2.Width = 100; |
| | | // |
| | | // colCalcuMinorLoss |
| | | // |
| | | colCalcuMinorLoss.FieldName = "CalcuMinorLoss"; |
| | | colCalcuMinorLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuMinorLoss.MaxWidth = 100; |
| | | colCalcuMinorLoss.MinWidth = 100; |
| | | colCalcuMinorLoss.Name = "colCalcuMinorLoss"; |
| | | colCalcuMinorLoss.Visible = true; |
| | | colCalcuMinorLoss.VisibleIndex = 16; |
| | | colCalcuMinorLoss.Width = 100; |
| | | // |
| | | // colSet |
| | | // |
| | |
| | | colSet.MinWidth = 40; |
| | | colSet.Name = "colSet"; |
| | | colSet.Visible = true; |
| | | colSet.VisibleIndex = 15; |
| | | colSet.VisibleIndex = 17; |
| | | colSet.Width = 40; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | layoutControlItem9.TextSize = new Size(0, 0); |
| | | layoutControlItem9.TextVisible = false; |
| | | // |
| | | // colBeginGroup |
| | | // |
| | | colBeginGroup.FieldName = "BeginGroup"; |
| | | colBeginGroup.MaxWidth = 100; |
| | | colBeginGroup.MinWidth = 100; |
| | | colBeginGroup.Name = "colBeginGroup"; |
| | | colBeginGroup.Visible = true; |
| | | colBeginGroup.VisibleIndex = 1; |
| | | colBeginGroup.Width = 100; |
| | | // |
| | | // HydroExchangerListCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colLinkStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDiameter; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colModelType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuFlow; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuVelocity; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuHeadLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colHasDb; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlags; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSet; |
| | |
| | | private BindingSource hydroExchangerViewModelBindingSource; |
| | | private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurve; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuQ; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuMinorLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurveQL; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colResistanceMode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBeginGroup; |
| | | } |
| | | } |