| | |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroTankViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | 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(); |
| | | colPoolElev = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colInitLevel = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinLevel = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaxLevel = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinVol = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colVolCurve = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDbLocked = 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(); |
| | | colDN = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colOverFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroTankViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colFlagsString, colQuality, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDiameter, colMinVol, colVolCurve, colCalcuPress, colCalcuHead, colCalcuDemand, colDescription }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colQuality, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDN, colMinVol, colVolCurve, colOverFlow, colCalcuPress, colCalcuHead, colCalcuDemand, colFlagsString, colDescription }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsFind.AlwaysVisible = true; |
| | | gridView1.RowClick += gridView1_RowClick; |
| | | // |
| | | // colDbLocked |
| | | // |
| | | colDbLocked.FieldName = "DbLocked"; |
| | | colDbLocked.MaxWidth = 60; |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 0; |
| | | colDbLocked.Width = 60; |
| | | // |
| | | // colCode |
| | | // |
| | |
| | | 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 |
| | |
| | | colMaxLevel.VisibleIndex = 9; |
| | | colMaxLevel.Width = 100; |
| | | // |
| | | // colDiameter |
| | | // |
| | | colDiameter.FieldName = "Diameter"; |
| | | colDiameter.MaxWidth = 100; |
| | | colDiameter.MinWidth = 100; |
| | | colDiameter.Name = "colDiameter"; |
| | | colDiameter.Visible = true; |
| | | colDiameter.VisibleIndex = 10; |
| | | colDiameter.Width = 100; |
| | | // |
| | | // colMinVol |
| | | // |
| | | colMinVol.FieldName = "MinVol"; |
| | |
| | | colVolCurve.VisibleIndex = 12; |
| | | colVolCurve.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 16; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colDbLocked |
| | | // |
| | | colDbLocked.FieldName = "DbLocked"; |
| | | colDbLocked.MaxWidth = 60; |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 0; |
| | | colDbLocked.Width = 60; |
| | | // |
| | | // colModelType |
| | | // |
| | | colModelType.FieldName = "ModelType"; |
| | | colModelType.MaxWidth = 150; |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colCalcuPress |
| | | // |
| | | colCalcuPress.FieldName = "CalcuPress"; |
| | |
| | | colCalcuPress.MinWidth = 100; |
| | | colCalcuPress.Name = "colCalcuPress"; |
| | | colCalcuPress.Visible = true; |
| | | colCalcuPress.VisibleIndex = 13; |
| | | colCalcuPress.VisibleIndex = 14; |
| | | colCalcuPress.Width = 100; |
| | | // |
| | | // colCalcuHead |
| | |
| | | colCalcuHead.MinWidth = 100; |
| | | colCalcuHead.Name = "colCalcuHead"; |
| | | colCalcuHead.Visible = true; |
| | | colCalcuHead.VisibleIndex = 14; |
| | | colCalcuHead.VisibleIndex = 15; |
| | | colCalcuHead.Width = 100; |
| | | // |
| | | // colCalcuDemand |
| | |
| | | colCalcuDemand.MinWidth = 100; |
| | | colCalcuDemand.Name = "colCalcuDemand"; |
| | | colCalcuDemand.Visible = true; |
| | | colCalcuDemand.VisibleIndex = 15; |
| | | 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; |
| | | // |
| | | // colDN |
| | | // |
| | | colDN.FieldName = "DN"; |
| | | colDN.MaxWidth = 100; |
| | | colDN.MinWidth = 100; |
| | | colDN.Name = "colDN"; |
| | | colDN.Visible = true; |
| | | colDN.VisibleIndex = 10; |
| | | colDN.Width = 100; |
| | | // |
| | | // colOverFlow |
| | | // |
| | | colOverFlow.FieldName = "OverFlow"; |
| | | colOverFlow.MaxWidth = 60; |
| | | colOverFlow.MinWidth = 60; |
| | | colOverFlow.Name = "colOverFlow"; |
| | | colOverFlow.Visible = true; |
| | | colOverFlow.VisibleIndex = 13; |
| | | colOverFlow.Width = 60; |
| | | // |
| | | // HydroTankListCtrl |
| | | // |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colInitLevel; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinLevel; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaxLevel; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDiameter; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinVol; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colVolCurve; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; |
| | |
| | | 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 colDN; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colOverFlow; |
| | | } |
| | | } |