| | |
| | | colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colQuality = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colQuality = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colElev = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDemand = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDemandPattern = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuPress = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuHead = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuDemand = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colBendingAngle = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colElbowType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroElbowViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(1603, 644); |
| | | gridControl1.Size = new Size(1891, 645); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colFlagsString, colMaterial, colCaliber, colMinorLoss, colQuality, colElev, colDemand, colDemandPattern, colCalcuPress, colCalcuHead, colCalcuDemand, colDescription }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colMaterial, colCaliber, colBendingAngle, colElbowType, colMinorLoss, colQuality, colElev, colDemand, colDemandPattern, colCalcuPress, colCalcuHead, colCalcuDemand, colFlagsString, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsFind.AlwaysVisible = true; |
| | |
| | | colName.VisibleIndex = 2; |
| | | colName.Width = 100; |
| | | // |
| | | // colModelType |
| | | // |
| | | colModelType.FieldName = "ModelType"; |
| | | colModelType.MaxWidth = 150; |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colFlagsString |
| | | // |
| | | colFlagsString.FieldName = "FlagsString"; |
| | |
| | | colFlagsString.MinWidth = 100; |
| | | colFlagsString.Name = "colFlagsString"; |
| | | colFlagsString.Visible = true; |
| | | colFlagsString.VisibleIndex = 4; |
| | | colFlagsString.VisibleIndex = 17; |
| | | colFlagsString.Width = 100; |
| | | // |
| | | // colQuality |
| | | // |
| | | colQuality.FieldName = "Quality"; |
| | | colQuality.MaxWidth = 100; |
| | | colQuality.MinWidth = 100; |
| | | colQuality.Name = "colQuality"; |
| | | colQuality.Visible = true; |
| | | colQuality.VisibleIndex = 8; |
| | | colQuality.Width = 100; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.MaxWidth = 100; |
| | | colMaterial.MinWidth = 100; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 7; |
| | | colMinorLoss.VisibleIndex = 9; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colQuality |
| | | // |
| | | colQuality.FieldName = "Quality"; |
| | | colQuality.MaxWidth = 100; |
| | | colQuality.MinWidth = 100; |
| | | colQuality.Name = "colQuality"; |
| | | colQuality.Visible = true; |
| | | colQuality.VisibleIndex = 10; |
| | | colQuality.Width = 100; |
| | | // |
| | | // colElev |
| | | // |
| | |
| | | colElev.MinWidth = 100; |
| | | colElev.Name = "colElev"; |
| | | colElev.Visible = true; |
| | | colElev.VisibleIndex = 9; |
| | | colElev.VisibleIndex = 11; |
| | | colElev.Width = 100; |
| | | // |
| | | // colDemand |
| | |
| | | colDemand.MinWidth = 100; |
| | | colDemand.Name = "colDemand"; |
| | | colDemand.Visible = true; |
| | | colDemand.VisibleIndex = 10; |
| | | colDemand.VisibleIndex = 12; |
| | | colDemand.Width = 100; |
| | | // |
| | | // colDemandPattern |
| | |
| | | colDemandPattern.MinWidth = 100; |
| | | colDemandPattern.Name = "colDemandPattern"; |
| | | colDemandPattern.Visible = true; |
| | | colDemandPattern.VisibleIndex = 11; |
| | | colDemandPattern.VisibleIndex = 13; |
| | | colDemandPattern.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 15; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colModelType |
| | | // |
| | | colModelType.FieldName = "ModelType"; |
| | | colModelType.MaxWidth = 150; |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colCalcuPress |
| | | // |
| | |
| | | colCalcuPress.MinWidth = 100; |
| | | colCalcuPress.Name = "colCalcuPress"; |
| | | colCalcuPress.Visible = true; |
| | | colCalcuPress.VisibleIndex = 12; |
| | | colCalcuPress.VisibleIndex = 14; |
| | | colCalcuPress.Width = 100; |
| | | // |
| | | // colCalcuHead |
| | |
| | | colCalcuHead.MinWidth = 100; |
| | | colCalcuHead.Name = "colCalcuHead"; |
| | | colCalcuHead.Visible = true; |
| | | colCalcuHead.VisibleIndex = 13; |
| | | colCalcuHead.VisibleIndex = 15; |
| | | colCalcuHead.Width = 100; |
| | | // |
| | | // colCalcuDemand |
| | |
| | | colCalcuDemand.MinWidth = 100; |
| | | colCalcuDemand.Name = "colCalcuDemand"; |
| | | colCalcuDemand.Visible = true; |
| | | colCalcuDemand.VisibleIndex = 14; |
| | | colCalcuDemand.VisibleIndex = 16; |
| | | colCalcuDemand.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 18; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colHasDb |
| | | // |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 60; |
| | | colHasDb.MinWidth = 60; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 4; |
| | | colHasDb.Width = 60; |
| | | // |
| | | // colBendingAngle |
| | | // |
| | | colBendingAngle.FieldName = "BendingAngle"; |
| | | colBendingAngle.MaxWidth = 100; |
| | | colBendingAngle.MinWidth = 100; |
| | | colBendingAngle.Name = "colBendingAngle"; |
| | | colBendingAngle.Visible = true; |
| | | colBendingAngle.VisibleIndex = 7; |
| | | colBendingAngle.Width = 100; |
| | | // |
| | | // colElbowType |
| | | // |
| | | colElbowType.FieldName = "ElbowType"; |
| | | colElbowType.MaxWidth = 100; |
| | | colElbowType.MinWidth = 100; |
| | | colElbowType.Name = "colElbowType"; |
| | | colElbowType.Visible = true; |
| | | colElbowType.VisibleIndex = 8; |
| | | colElbowType.Width = 100; |
| | | // |
| | | // HydroElbowListCtrl |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Name = "HydroElbowListCtrl"; |
| | | Size = new Size(1603, 644); |
| | | Size = new Size(1891, 645); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)hydroElbowViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuPress; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuHead; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuDemand; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colHasDb; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBendingAngle; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colElbowType; |
| | | } |
| | | } |