| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroWaterboxListCtrl)); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | 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(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | hydroWaterboxViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | gridControl1.Size = new Size(1730, 606); |
| | | gridControl1.Size = new Size(1126, 588); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); |
| | | editorButtonImageOptions2.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "设置", "set", null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "设置", "set", null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | | // colDbLocked |
| | | // |
| | | colDbLocked.FieldName = "DbLocked"; |
| | | colDbLocked.MaxWidth = 60; |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | colDbLocked.MaxWidth = 40; |
| | | colDbLocked.MinWidth = 40; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 0; |
| | | colDbLocked.Width = 60; |
| | | colDbLocked.Width = 40; |
| | | // |
| | | // colCode |
| | | // |
| | |
| | | // colHasDb |
| | | // |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 60; |
| | | colHasDb.MinWidth = 60; |
| | | colHasDb.MaxWidth = 40; |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 15; |
| | | colHasDb.Width = 60; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colPoolElev |
| | | // |
| | | colPoolElev.FieldName = "PoolElev"; |
| | | colPoolElev.MaxWidth = 100; |
| | | colPoolElev.MinWidth = 100; |
| | | colPoolElev.MaxWidth = 80; |
| | | colPoolElev.MinWidth = 80; |
| | | colPoolElev.Name = "colPoolElev"; |
| | | colPoolElev.Visible = true; |
| | | colPoolElev.VisibleIndex = 4; |
| | | colPoolElev.Width = 100; |
| | | colPoolElev.Width = 80; |
| | | // |
| | | // colInitLevel |
| | | // |
| | | colInitLevel.FieldName = "InitLevel"; |
| | | colInitLevel.MaxWidth = 100; |
| | | colInitLevel.MinWidth = 100; |
| | | colInitLevel.MaxWidth = 80; |
| | | colInitLevel.MinWidth = 80; |
| | | colInitLevel.Name = "colInitLevel"; |
| | | colInitLevel.Visible = true; |
| | | colInitLevel.VisibleIndex = 5; |
| | | colInitLevel.Width = 100; |
| | | colInitLevel.Width = 80; |
| | | // |
| | | // colMinLevel |
| | | // |
| | | colMinLevel.FieldName = "MinLevel"; |
| | | colMinLevel.MaxWidth = 100; |
| | | colMinLevel.MinWidth = 100; |
| | | colMinLevel.MaxWidth = 80; |
| | | colMinLevel.MinWidth = 80; |
| | | colMinLevel.Name = "colMinLevel"; |
| | | colMinLevel.Visible = true; |
| | | colMinLevel.VisibleIndex = 6; |
| | | colMinLevel.Width = 100; |
| | | colMinLevel.Width = 80; |
| | | // |
| | | // colMaxLevel |
| | | // |
| | | colMaxLevel.FieldName = "MaxLevel"; |
| | | colMaxLevel.MaxWidth = 100; |
| | | colMaxLevel.MinWidth = 100; |
| | | colMaxLevel.MaxWidth = 80; |
| | | colMaxLevel.MinWidth = 80; |
| | | colMaxLevel.Name = "colMaxLevel"; |
| | | colMaxLevel.Visible = true; |
| | | colMaxLevel.VisibleIndex = 7; |
| | | colMaxLevel.Width = 100; |
| | | colMaxLevel.Width = 80; |
| | | // |
| | | // colDN |
| | | // |
| | | colDN.FieldName = "DN"; |
| | | colDN.MaxWidth = 100; |
| | | colDN.MinWidth = 100; |
| | | colDN.MaxWidth = 80; |
| | | colDN.MinWidth = 80; |
| | | colDN.Name = "colDN"; |
| | | colDN.Visible = true; |
| | | colDN.VisibleIndex = 8; |
| | | colDN.Width = 100; |
| | | colDN.Width = 80; |
| | | // |
| | | // colMinVol |
| | | // |
| | | colMinVol.FieldName = "MinVol"; |
| | | colMinVol.MaxWidth = 100; |
| | | colMinVol.MinWidth = 100; |
| | | colMinVol.MaxWidth = 90; |
| | | colMinVol.MinWidth = 90; |
| | | colMinVol.Name = "colMinVol"; |
| | | colMinVol.Visible = true; |
| | | colMinVol.VisibleIndex = 9; |
| | | colMinVol.Width = 100; |
| | | colMinVol.Width = 90; |
| | | // |
| | | // colCurve |
| | | // |
| | | colCurve.FieldName = "Curve"; |
| | | colCurve.MaxWidth = 100; |
| | | colCurve.MinWidth = 100; |
| | | colCurve.MaxWidth = 80; |
| | | colCurve.MinWidth = 80; |
| | | colCurve.Name = "colCurve"; |
| | | colCurve.Visible = true; |
| | | colCurve.VisibleIndex = 10; |
| | | colCurve.Width = 100; |
| | | colCurve.Width = 80; |
| | | // |
| | | // colOverFlow |
| | | // |
| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1227, 184, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(1734, 658); |
| | | layoutControl1.Size = new Size(1130, 640); |
| | | layoutControl1.TabIndex = 2; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | // |
| | | btnSet.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Success; |
| | | btnSet.Appearance.Options.UseBackColor = true; |
| | | btnSet.Location = new Point(1624, 14); |
| | | btnSet.Location = new Point(1020, 14); |
| | | btnSet.Name = "btnSet"; |
| | | btnSet.Size = new Size(96, 22); |
| | | btnSet.StyleController = layoutControl1; |
| | |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { groupForHead, layoutControlItem8 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(1734, 658); |
| | | Root.Size = new Size(1130, 640); |
| | | Root.TextVisible = false; |
| | | // |
| | | // groupForHead |
| | |
| | | groupForHead.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, layoutControlItem2, layoutControlItem3, emptySpaceItem1, layoutControlItem5, layoutControlItem6, layoutControlItem7 }); |
| | | groupForHead.Location = new Point(0, 0); |
| | | groupForHead.Name = "groupForHead"; |
| | | groupForHead.Size = new Size(1734, 50); |
| | | groupForHead.Size = new Size(1130, 50); |
| | | groupForHead.Text = "查询条件"; |
| | | groupForHead.TextVisible = false; |
| | | // |
| | |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(800, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(810, 26); |
| | | emptySpaceItem1.Size = new Size(206, 26); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem5 |
| | |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = btnSet; |
| | | layoutControlItem6.Location = new Point(1610, 0); |
| | | layoutControlItem6.Location = new Point(1006, 0); |
| | | layoutControlItem6.MaxSize = new Size(100, 26); |
| | | layoutControlItem6.MinSize = new Size(100, 26); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | |
| | | layoutControlItem8.Location = new Point(0, 50); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); |
| | | layoutControlItem8.Size = new Size(1734, 608); |
| | | layoutControlItem8.Size = new Size(1130, 590); |
| | | layoutControlItem8.TextSize = new Size(0, 0); |
| | | layoutControlItem8.TextVisible = false; |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(layoutControl1); |
| | | Name = "HydroWaterboxListCtrl"; |
| | | Size = new Size(1734, 658); |
| | | Size = new Size(1130, 640); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)hydroWaterboxViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |