| | |
| | | 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(); |
| | | 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(); |
| | | colVolCurve = 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, 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; |
| | |
| | | colMinVol.VisibleIndex = 9; |
| | | colMinVol.Width = 90; |
| | | // |
| | | // colCurve |
| | | // |
| | | colCurve.FieldName = "Curve"; |
| | | colCurve.MaxWidth = 80; |
| | | colCurve.MinWidth = 80; |
| | | colCurve.Name = "colCurve"; |
| | | colCurve.Visible = true; |
| | | colCurve.VisibleIndex = 10; |
| | | colCurve.Width = 80; |
| | | // |
| | | // colOverFlow |
| | | // |
| | | colOverFlow.FieldName = "OverFlow"; |
| | |
| | | colOverFlow.MinWidth = 60; |
| | | colOverFlow.Name = "colOverFlow"; |
| | | colOverFlow.Visible = true; |
| | | colOverFlow.VisibleIndex = 11; |
| | | colOverFlow.VisibleIndex = 10; |
| | | colOverFlow.Width = 60; |
| | | // |
| | | // colFlags |
| | |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 14; |
| | | 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 = 15; |
| | | colCalcuL.Width = 100; |
| | | // |
| | | // colSet |
| | | // |
| | |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | | // colCalcuL |
| | | // colVolCurve |
| | | // |
| | | 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; |
| | | colVolCurve.FieldName = "VolCurve"; |
| | | colVolCurve.MaxWidth = 100; |
| | | colVolCurve.MinWidth = 100; |
| | | colVolCurve.Name = "colVolCurve"; |
| | | colVolCurve.Visible = true; |
| | | colVolCurve.VisibleIndex = 11; |
| | | colVolCurve.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; |
| | | } |
| | | } |