| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWaterboxListCtrl)); |
| | | 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(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWaterboxListCtrl)); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroWaterboxViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | |
| | | colMaxLevel = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDN = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinVol = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCurve = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colVolCurve = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colOverFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuL = 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(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | colCalcuL = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colBeginGroup = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroWaterboxViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDN, colMinVol, colCurve, colOverFlow, colFlags, colDescription, colCalcuL, colSet }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colBeginGroup, colCode, colName, colModelType, colHasDb, colPoolElev, colInitLevel, colMinLevel, colMaxLevel, colDN, colMinVol, colVolCurve, colOverFlow, colFlags, colDescription, colCalcuL, colSet }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.VisibleIndex = 3; |
| | | colCode.Width = 100; |
| | | // |
| | | // colName |
| | |
| | | colName.MinWidth = 100; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 1; |
| | | colName.VisibleIndex = 2; |
| | | colName.Width = 100; |
| | | // |
| | | // colModelType |
| | |
| | | colModelType.MinWidth = 100; |
| | | colModelType.Name = "colModelType"; |
| | | colModelType.Visible = true; |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.VisibleIndex = 4; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colHasDb |
| | |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 12; |
| | | colHasDb.VisibleIndex = 13; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colPoolElev |
| | |
| | | colPoolElev.MinWidth = 80; |
| | | colPoolElev.Name = "colPoolElev"; |
| | | colPoolElev.Visible = true; |
| | | colPoolElev.VisibleIndex = 4; |
| | | colPoolElev.VisibleIndex = 5; |
| | | colPoolElev.Width = 80; |
| | | // |
| | | // colInitLevel |
| | |
| | | colInitLevel.MinWidth = 80; |
| | | colInitLevel.Name = "colInitLevel"; |
| | | colInitLevel.Visible = true; |
| | | colInitLevel.VisibleIndex = 5; |
| | | colInitLevel.VisibleIndex = 6; |
| | | colInitLevel.Width = 80; |
| | | // |
| | | // colMinLevel |
| | |
| | | colMinLevel.MinWidth = 80; |
| | | colMinLevel.Name = "colMinLevel"; |
| | | colMinLevel.Visible = true; |
| | | colMinLevel.VisibleIndex = 6; |
| | | colMinLevel.VisibleIndex = 7; |
| | | colMinLevel.Width = 80; |
| | | // |
| | | // colMaxLevel |
| | |
| | | colMaxLevel.MinWidth = 80; |
| | | colMaxLevel.Name = "colMaxLevel"; |
| | | colMaxLevel.Visible = true; |
| | | colMaxLevel.VisibleIndex = 7; |
| | | colMaxLevel.VisibleIndex = 8; |
| | | colMaxLevel.Width = 80; |
| | | // |
| | | // colDN |
| | |
| | | colDN.MinWidth = 80; |
| | | colDN.Name = "colDN"; |
| | | colDN.Visible = true; |
| | | colDN.VisibleIndex = 8; |
| | | colDN.VisibleIndex = 9; |
| | | colDN.Width = 80; |
| | | // |
| | | // colMinVol |
| | |
| | | colMinVol.MinWidth = 90; |
| | | colMinVol.Name = "colMinVol"; |
| | | colMinVol.Visible = true; |
| | | colMinVol.VisibleIndex = 9; |
| | | colMinVol.VisibleIndex = 10; |
| | | colMinVol.Width = 90; |
| | | // |
| | | // colCurve |
| | | // colVolCurve |
| | | // |
| | | colCurve.FieldName = "Curve"; |
| | | colCurve.MaxWidth = 80; |
| | | colCurve.MinWidth = 80; |
| | | colCurve.Name = "colCurve"; |
| | | colCurve.Visible = true; |
| | | colCurve.VisibleIndex = 10; |
| | | colCurve.Width = 80; |
| | | colVolCurve.FieldName = "VolCurve"; |
| | | colVolCurve.MaxWidth = 100; |
| | | colVolCurve.MinWidth = 100; |
| | | colVolCurve.Name = "colVolCurve"; |
| | | colVolCurve.Visible = true; |
| | | colVolCurve.VisibleIndex = 12; |
| | | colVolCurve.Width = 100; |
| | | // |
| | | // colOverFlow |
| | | // |
| | |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 13; |
| | | colFlags.VisibleIndex = 14; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colDescription |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 14; |
| | | colDescription.VisibleIndex = 15; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colCalcuL |
| | | // |
| | | colCalcuL.FieldName = "CalcuL"; |
| | | colCalcuL.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuL.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuL.ImageOptions.SvgImage"); |
| | | colCalcuL.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuL.MaxWidth = 100; |
| | | colCalcuL.MinWidth = 100; |
| | | colCalcuL.Name = "colCalcuL"; |
| | | colCalcuL.Visible = true; |
| | | colCalcuL.VisibleIndex = 16; |
| | | colCalcuL.Width = 100; |
| | | // |
| | | // colSet |
| | | // |
| | |
| | | colSet.MinWidth = 60; |
| | | colSet.Name = "colSet"; |
| | | colSet.Visible = true; |
| | | colSet.VisibleIndex = 16; |
| | | colSet.VisibleIndex = 17; |
| | | colSet.Width = 60; |
| | | // |
| | | // repositoryItemButtonEdit1 |
| | |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | | // colCalcuL |
| | | // colBeginGroup |
| | | // |
| | | colCalcuL.FieldName = "CalcuL"; |
| | | colCalcuL.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colCalcuL.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuL.ImageOptions.SvgImage"); |
| | | colCalcuL.ImageOptions.SvgImageSize = new Size(16, 16); |
| | | colCalcuL.MaxWidth = 100; |
| | | colCalcuL.MinWidth = 100; |
| | | colCalcuL.Name = "colCalcuL"; |
| | | colCalcuL.Visible = true; |
| | | colCalcuL.VisibleIndex = 15; |
| | | colCalcuL.Width = 100; |
| | | colBeginGroup.FieldName = "BeginGroup"; |
| | | colBeginGroup.MaxWidth = 100; |
| | | colBeginGroup.MinWidth = 100; |
| | | colBeginGroup.Name = "colBeginGroup"; |
| | | colBeginGroup.Visible = true; |
| | | colBeginGroup.VisibleIndex = 1; |
| | | colBeginGroup.Width = 100; |
| | | // |
| | | // HydroWaterboxListCtrl |
| | | // |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurve; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSet; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuL; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colVolCurve; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBeginGroup; |
| | | } |
| | | } |