| | |
| | | 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(); |
| | | colRunningThroughLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colBranchThroughLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroThreelinkViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(1573, 631); |
| | | gridControl1.Size = new Size(1820, 643); |
| | | 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, colRunningThroughLoss, colBranchThroughLoss, colQuality, colElev, colMinorLoss, 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 = 5; |
| | | 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 |
| | | // |
| | |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 7; |
| | | colMinorLoss.VisibleIndex = 11; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colQuality |
| | | // |
| | | colQuality.FieldName = "Quality"; |
| | | colQuality.MaxWidth = 100; |
| | | colQuality.MinWidth = 100; |
| | | colQuality.Name = "colQuality"; |
| | | colQuality.Visible = true; |
| | | colQuality.VisibleIndex = 9; |
| | | colQuality.Width = 100; |
| | | // |
| | | // colElev |
| | | // |
| | |
| | | colElev.MinWidth = 100; |
| | | colElev.Name = "colElev"; |
| | | colElev.Visible = true; |
| | | colElev.VisibleIndex = 9; |
| | | colElev.VisibleIndex = 10; |
| | | 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 = 16; |
| | | 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; |
| | | // |
| | | // colRunningThroughLoss |
| | | // |
| | | colRunningThroughLoss.FieldName = "RunningThroughLoss"; |
| | | colRunningThroughLoss.Name = "colRunningThroughLoss"; |
| | | colRunningThroughLoss.Visible = true; |
| | | colRunningThroughLoss.VisibleIndex = 7; |
| | | // |
| | | // colBranchThroughLoss |
| | | // |
| | | colBranchThroughLoss.FieldName = "BranchThroughLoss"; |
| | | colBranchThroughLoss.Name = "colBranchThroughLoss"; |
| | | colBranchThroughLoss.Visible = true; |
| | | colBranchThroughLoss.VisibleIndex = 8; |
| | | // |
| | | // HydroThreelinkListCtrl |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Name = "HydroThreelinkListCtrl"; |
| | | Size = new Size(1573, 631); |
| | | Size = new Size(1820, 643); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)hydroThreelinkViewModelBindingSource).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 colRunningThroughLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBranchThroughLoss; |
| | | } |
| | | } |