From f7d479db638f3d9e3aeb05ec82dc2818f14bf903 Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期一, 24 三月 2025 17:25:20 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/PBS.WinFrmUI/03-elecPrice/AddElectricDlg.Designer.cs | 555 +++++++++++++++++++++++++++--------------------------- 1 files changed, 278 insertions(+), 277 deletions(-) diff --git a/WinFrmUI/PBS.WinFrmUI/03-elecPrice/AddElectricDlg.Designer.cs b/WinFrmUI/PBS.WinFrmUI/03-elecPrice/AddElectricDlg.Designer.cs index 483ad7b..2e4e6d7 100644 --- a/WinFrmUI/PBS.WinFrmUI/03-elecPrice/AddElectricDlg.Designer.cs +++ b/WinFrmUI/PBS.WinFrmUI/03-elecPrice/AddElectricDlg.Designer.cs @@ -28,330 +28,331 @@ /// </summary> private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); + components = new System.ComponentModel.Container(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddElectricDlg)); 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(); - this.dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); - this.Btncancel = new DevExpress.XtraEditors.SimpleButton(); - this.btnOk = new DevExpress.XtraEditors.SimpleButton(); - this.txtStartMonth = new DevExpress.XtraEditors.TextEdit(); - this.txtEndMonth = new DevExpress.XtraEditors.TextEdit(); - this.gridControl11 = new DevExpress.XtraGrid.GridControl(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.colStartHour = new DevExpress.XtraGrid.Columns.GridColumn(); - this.colStartTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.colEndTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.colPrice = new DevExpress.XtraGrid.Columns.GridColumn(); - this.ColDelete = new DevExpress.XtraGrid.Columns.GridColumn(); - this.repositoryItemButtonEdit11 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); - this.StartName = new DevExpress.XtraLayout.LayoutControlItem(); - this.缁撴潫鏈堜唤 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components); - this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl1)).BeginInit(); - this.dataLayoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.txtStartMonth.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtEndMonth.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.StartName)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.缁撴潫鏈堜唤)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); - this.SuspendLayout(); + dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); + Btncancel = new DevExpress.XtraEditors.SimpleButton(); + btnOk = new DevExpress.XtraEditors.SimpleButton(); + txtStartMonth = new DevExpress.XtraEditors.TextEdit(); + txtEndMonth = new DevExpress.XtraEditors.TextEdit(); + gridControl11 = new DevExpress.XtraGrid.GridControl(); + bindingSource1 = new BindingSource(components); + gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); + colStartHour = new DevExpress.XtraGrid.Columns.GridColumn(); + colStartTime = new DevExpress.XtraGrid.Columns.GridColumn(); + colEndTime = new DevExpress.XtraGrid.Columns.GridColumn(); + colPrice = new DevExpress.XtraGrid.Columns.GridColumn(); + ColDelete = new DevExpress.XtraGrid.Columns.GridColumn(); + repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + Root = new DevExpress.XtraLayout.LayoutControlGroup(); + StartName = new DevExpress.XtraLayout.LayoutControlItem(); + 缁撴潫鏈堜唤 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + repositoryItemButtonEdit11 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).BeginInit(); + dataLayoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)txtStartMonth.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)txtEndMonth.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)gridControl11).BeginInit(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)gridView2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); + ((System.ComponentModel.ISupportInitialize)StartName).BeginInit(); + ((System.ComponentModel.ISupportInitialize)缁撴潫鏈堜唤).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit11).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); + SuspendLayout(); // // dataLayoutControl1 // - this.dataLayoutControl1.Controls.Add(this.Btncancel); - this.dataLayoutControl1.Controls.Add(this.btnOk); - this.dataLayoutControl1.Controls.Add(this.txtStartMonth); - this.dataLayoutControl1.Controls.Add(this.txtEndMonth); - this.dataLayoutControl1.Controls.Add(this.gridControl11); - this.dataLayoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.dataLayoutControl1.Location = new System.Drawing.Point(0, 0); - this.dataLayoutControl1.Name = "dataLayoutControl1"; - this.dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(964, 147, 650, 400); - this.dataLayoutControl1.Root = this.Root; - this.dataLayoutControl1.Size = new System.Drawing.Size(534, 401); - this.dataLayoutControl1.TabIndex = 0; - this.dataLayoutControl1.Text = "dataLayoutControl1"; + dataLayoutControl1.Controls.Add(Btncancel); + dataLayoutControl1.Controls.Add(btnOk); + dataLayoutControl1.Controls.Add(txtStartMonth); + dataLayoutControl1.Controls.Add(txtEndMonth); + dataLayoutControl1.Controls.Add(gridControl11); + dataLayoutControl1.Dock = DockStyle.Fill; + dataLayoutControl1.Location = new Point(0, 0); + dataLayoutControl1.Margin = new Padding(3, 4, 3, 4); + dataLayoutControl1.Name = "dataLayoutControl1"; + dataLayoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(964, 147, 650, 400); + dataLayoutControl1.Root = Root; + dataLayoutControl1.Size = new Size(610, 514); + dataLayoutControl1.TabIndex = 0; + dataLayoutControl1.Text = "dataLayoutControl1"; // // Btncancel // - this.Btncancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; - this.Btncancel.Appearance.Options.UseBackColor = true; - this.Btncancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.Btncancel.Location = new System.Drawing.Point(402, 367); - this.Btncancel.MaximumSize = new System.Drawing.Size(120, 22); - this.Btncancel.MinimumSize = new System.Drawing.Size(120, 22); - this.Btncancel.Name = "Btncancel"; - this.Btncancel.Size = new System.Drawing.Size(120, 22); - this.Btncancel.StyleController = this.dataLayoutControl1; - this.Btncancel.TabIndex = 8; - this.Btncancel.Text = "鍙栨秷"; + Btncancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; + Btncancel.Appearance.Options.UseBackColor = true; + Btncancel.DialogResult = DialogResult.Cancel; + Btncancel.Location = new Point(460, 470); + Btncancel.Margin = new Padding(3, 4, 3, 4); + Btncancel.MaximumSize = new Size(137, 28); + Btncancel.MinimumSize = new Size(137, 28); + Btncancel.Name = "Btncancel"; + Btncancel.Size = new Size(137, 28); + Btncancel.StyleController = dataLayoutControl1; + Btncancel.TabIndex = 8; + Btncancel.Text = "鍙栨秷"; // // btnOk // - this.btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; - this.btnOk.Appearance.Options.UseBackColor = true; - this.btnOk.Location = new System.Drawing.Point(278, 367); - this.btnOk.MaximumSize = new System.Drawing.Size(120, 22); - this.btnOk.MinimumSize = new System.Drawing.Size(120, 22); - this.btnOk.Name = "btnOk"; - this.btnOk.Size = new System.Drawing.Size(120, 22); - this.btnOk.StyleController = this.dataLayoutControl1; - this.btnOk.TabIndex = 7; - this.btnOk.Text = "纭畾"; - this.btnOk.Click += new System.EventHandler(this.btnOk_Click); + btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; + btnOk.Appearance.Options.UseBackColor = true; + btnOk.Location = new Point(319, 470); + btnOk.Margin = new Padding(3, 4, 3, 4); + btnOk.MaximumSize = new Size(137, 28); + btnOk.MinimumSize = new Size(137, 28); + btnOk.Name = "btnOk"; + btnOk.Size = new Size(137, 28); + btnOk.StyleController = dataLayoutControl1; + btnOk.TabIndex = 7; + btnOk.Text = "纭畾"; + btnOk.Click += btnOk_Click; // // txtStartMonth // - this.txtStartMonth.Location = new System.Drawing.Point(76, 12); - this.txtStartMonth.Name = "txtStartMonth"; - this.txtStartMonth.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); - this.txtStartMonth.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); - this.txtStartMonth.Properties.MaskSettings.Set("mask", "d"); - this.txtStartMonth.Size = new System.Drawing.Size(446, 20); - this.txtStartMonth.StyleController = this.dataLayoutControl1; - this.txtStartMonth.TabIndex = 4; + txtStartMonth.Location = new Point(92, 16); + txtStartMonth.Margin = new Padding(3, 4, 3, 4); + txtStartMonth.Name = "txtStartMonth"; + txtStartMonth.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtStartMonth.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtStartMonth.Properties.MaskSettings.Set("mask", "d"); + txtStartMonth.Size = new Size(505, 24); + txtStartMonth.StyleController = dataLayoutControl1; + txtStartMonth.TabIndex = 4; // // txtEndMonth // - this.txtEndMonth.Location = new System.Drawing.Point(76, 36); - this.txtEndMonth.Name = "txtEndMonth"; - this.txtEndMonth.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); - this.txtEndMonth.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); - this.txtEndMonth.Properties.MaskSettings.Set("mask", "d"); - this.txtEndMonth.Size = new System.Drawing.Size(446, 20); - this.txtEndMonth.StyleController = this.dataLayoutControl1; - this.txtEndMonth.TabIndex = 5; + txtEndMonth.Location = new Point(92, 46); + txtEndMonth.Margin = new Padding(3, 4, 3, 4); + txtEndMonth.Name = "txtEndMonth"; + txtEndMonth.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); + txtEndMonth.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); + txtEndMonth.Properties.MaskSettings.Set("mask", "d"); + txtEndMonth.Size = new Size(505, 24); + txtEndMonth.StyleController = dataLayoutControl1; + txtEndMonth.TabIndex = 5; // // gridControl11 // - this.gridControl11.DataSource = this.bindingSource1; - this.gridControl11.Location = new System.Drawing.Point(12, 60); - this.gridControl11.MainView = this.gridView2; - this.gridControl11.Name = "gridControl11"; - this.gridControl11.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { - this.repositoryItemButtonEdit1}); - this.gridControl11.Size = new System.Drawing.Size(510, 303); - this.gridControl11.TabIndex = 4; - this.gridControl11.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView2}); + gridControl11.DataSource = bindingSource1; + gridControl11.EmbeddedNavigator.Margin = new Padding(3, 5, 3, 5); + gridControl11.Location = new Point(13, 76); + gridControl11.MainView = gridView2; + gridControl11.Margin = new Padding(3, 4, 3, 4); + gridControl11.Name = "gridControl11"; + gridControl11.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); + gridControl11.Size = new Size(584, 388); + gridControl11.TabIndex = 4; + gridControl11.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView2 }); // // gridView2 // - this.gridView2.Appearance.Row.Options.UseTextOptions = true; - this.gridView2.Appearance.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.colStartHour, - this.colStartTime, - this.colEndTime, - this.colPrice, - this.ColDelete}); - this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; - this.gridView2.GridControl = this.gridControl11; - this.gridView2.Name = "gridView2"; - this.gridView2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; - this.gridView2.OptionsCustomization.AllowFilter = false; - this.gridView2.OptionsCustomization.AllowQuickHideColumns = false; - this.gridView2.OptionsCustomization.AllowSort = false; - this.gridView2.OptionsMenu.EnableColumnMenu = false; - this.gridView2.OptionsView.EnableAppearanceEvenRow = true; - this.gridView2.OptionsView.EnableAppearanceOddRow = true; - this.gridView2.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; - this.gridView2.OptionsView.ShowGroupPanel = false; - this.gridView2.OptionsView.ShowIndicator = false; - this.gridView2.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.gridView2_RowCellClick); + gridView2.Appearance.Row.Options.UseTextOptions = true; + gridView2.Appearance.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colStartHour, colStartTime, colEndTime, colPrice, ColDelete }); + gridView2.DetailHeight = 450; + gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + gridView2.GridControl = gridControl11; + gridView2.Name = "gridView2"; + gridView2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + gridView2.OptionsCustomization.AllowFilter = false; + gridView2.OptionsCustomization.AllowQuickHideColumns = false; + gridView2.OptionsCustomization.AllowSort = false; + gridView2.OptionsEditForm.PopupEditFormWidth = 914; + gridView2.OptionsMenu.EnableColumnMenu = false; + gridView2.OptionsView.EnableAppearanceEvenRow = true; + gridView2.OptionsView.EnableAppearanceOddRow = true; + gridView2.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + gridView2.OptionsView.ShowGroupPanel = false; + gridView2.OptionsView.ShowIndicator = false; + gridView2.RowCellClick += gridView2_RowCellClick; // // colStartHour // - this.colStartHour.Caption = "鏃舵"; - this.colStartHour.FieldName = "TimeFrame"; - this.colStartHour.Name = "colStartHour"; - this.colStartHour.Visible = true; - this.colStartHour.VisibleIndex = 0; - this.colStartHour.Width = 127; + colStartHour.Caption = "鏃舵"; + colStartHour.FieldName = "TimeFrame"; + colStartHour.MinWidth = 23; + colStartHour.Name = "colStartHour"; + colStartHour.Visible = true; + colStartHour.VisibleIndex = 0; + colStartHour.Width = 145; // // colStartTime // - this.colStartTime.Caption = "寮�濮嬫椂闂�"; - this.colStartTime.FieldName = "StartHour"; - this.colStartTime.Name = "colStartTime"; - this.colStartTime.Visible = true; - this.colStartTime.VisibleIndex = 1; - this.colStartTime.Width = 127; + colStartTime.Caption = "寮�濮嬫椂闂�"; + colStartTime.FieldName = "StartHour"; + colStartTime.MinWidth = 23; + colStartTime.Name = "colStartTime"; + colStartTime.Visible = true; + colStartTime.VisibleIndex = 1; + colStartTime.Width = 145; // // colEndTime // - this.colEndTime.Caption = "缁撴潫鏃堕棿"; - this.colEndTime.FieldName = "EndHour"; - this.colEndTime.Name = "colEndTime"; - this.colEndTime.Visible = true; - this.colEndTime.VisibleIndex = 2; - this.colEndTime.Width = 186; + colEndTime.Caption = "缁撴潫鏃堕棿"; + colEndTime.FieldName = "EndHour"; + colEndTime.MinWidth = 23; + colEndTime.Name = "colEndTime"; + colEndTime.Visible = true; + colEndTime.VisibleIndex = 2; + colEndTime.Width = 213; // // colPrice // - this.colPrice.Caption = "浠锋牸"; - this.colPrice.FieldName = "Price"; - this.colPrice.Name = "colPrice"; - this.colPrice.Visible = true; - this.colPrice.VisibleIndex = 3; - this.colPrice.Width = 146; + colPrice.Caption = "浠锋牸"; + colPrice.FieldName = "Price"; + colPrice.MinWidth = 23; + colPrice.Name = "colPrice"; + colPrice.Visible = true; + colPrice.VisibleIndex = 3; + colPrice.Width = 167; // // ColDelete // - this.ColDelete.Caption = "鍒犻櫎"; - this.ColDelete.ColumnEdit = this.repositoryItemButtonEdit1; - this.ColDelete.Name = "ColDelete"; - this.ColDelete.OptionsColumn.AllowEdit = false; - this.ColDelete.Visible = true; - this.ColDelete.VisibleIndex = 4; - this.ColDelete.Width = 52; - // - // repositoryItemButtonEdit11 - // - this.repositoryItemButtonEdit11.AllowFocused = false; - this.repositoryItemButtonEdit11.AutoHeight = false; - this.repositoryItemButtonEdit11.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph)}); - this.repositoryItemButtonEdit11.Name = "repositoryItemButtonEdit11"; - this.repositoryItemButtonEdit11.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; - // - // Root - // - this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.Root.GroupBordersVisible = false; - this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.StartName, - this.缁撴潫鏈堜唤, - this.layoutControlItem1, - this.layoutControlItem2, - this.emptySpaceItem1, - this.layoutControlItem3}); - this.Root.Name = "Root"; - this.Root.Size = new System.Drawing.Size(534, 401); - this.Root.TextVisible = false; - // - // StartName - // - this.StartName.Control = this.txtStartMonth; - this.StartName.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; - this.StartName.CustomizationFormText = "寮�濮嬫湀浠�:"; - this.StartName.Location = new System.Drawing.Point(0, 0); - this.StartName.Name = "StartName"; - this.StartName.Size = new System.Drawing.Size(514, 24); - this.StartName.Text = "寮�濮嬫湀浠�:"; - this.StartName.TextSize = new System.Drawing.Size(52, 14); - // - // 缁撴潫鏈堜唤 - // - this.缁撴潫鏈堜唤.Control = this.txtEndMonth; - this.缁撴潫鏈堜唤.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; - this.缁撴潫鏈堜唤.CustomizationFormText = "缁撴潫鏈堜唤:"; - this.缁撴潫鏈堜唤.Location = new System.Drawing.Point(0, 24); - this.缁撴潫鏈堜唤.Name = "缁撴潫鏈堜唤"; - this.缁撴潫鏈堜唤.Size = new System.Drawing.Size(514, 24); - this.缁撴潫鏈堜唤.Text = "缁撴潫鏈堜唤:"; - this.缁撴潫鏈堜唤.TextSize = new System.Drawing.Size(52, 14); - // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.gridControl11; - this.layoutControlItem1.ControlAlignment = System.Drawing.ContentAlignment.TopLeft; - this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 48); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(514, 307); - this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem1.TextVisible = false; - // - // layoutControlItem2 - // - this.layoutControlItem2.Control = this.btnOk; - this.layoutControlItem2.Location = new System.Drawing.Point(266, 355); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(124, 26); - this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem2.TextVisible = false; - // - // emptySpaceItem1 - // - this.emptySpaceItem1.AllowHotTrack = false; - this.emptySpaceItem1.Location = new System.Drawing.Point(0, 355); - this.emptySpaceItem1.Name = "emptySpaceItem1"; - this.emptySpaceItem1.Size = new System.Drawing.Size(266, 26); - this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.Btncancel; - this.layoutControlItem3.Location = new System.Drawing.Point(390, 355); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(124, 26); - this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem3.TextVisible = false; - // - // dxErrorProvider1 - // - this.dxErrorProvider1.ContainerControl = this; + ColDelete.Caption = "鍒犻櫎"; + ColDelete.ColumnEdit = repositoryItemButtonEdit1; + ColDelete.MinWidth = 23; + ColDelete.Name = "ColDelete"; + ColDelete.OptionsColumn.AllowEdit = false; + ColDelete.Visible = true; + ColDelete.VisibleIndex = 4; + ColDelete.Width = 59; // // repositoryItemButtonEdit1 // - this.repositoryItemButtonEdit1.AutoHeight = false; - this.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(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); - this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; - this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); + 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, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); + repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; + repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + // + // Root + // + Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + Root.GroupBordersVisible = false; + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { StartName, 缁撴潫鏈堜唤, layoutControlItem1, layoutControlItem2, emptySpaceItem1, layoutControlItem3 }); + Root.Name = "Root"; + Root.Size = new Size(610, 514); + Root.TextVisible = false; + // + // StartName + // + StartName.Control = txtStartMonth; + StartName.ControlAlignment = ContentAlignment.TopLeft; + StartName.CustomizationFormText = "寮�濮嬫湀浠�:"; + StartName.Location = new Point(0, 0); + StartName.Name = "StartName"; + StartName.Size = new Size(588, 30); + StartName.Text = "寮�濮嬫湀浠�:"; + StartName.TextSize = new Size(65, 18); + // + // 缁撴潫鏈堜唤 + // + 缁撴潫鏈堜唤.Control = txtEndMonth; + 缁撴潫鏈堜唤.ControlAlignment = ContentAlignment.TopLeft; + 缁撴潫鏈堜唤.CustomizationFormText = "缁撴潫鏈堜唤:"; + 缁撴潫鏈堜唤.Location = new Point(0, 30); + 缁撴潫鏈堜唤.Name = "缁撴潫鏈堜唤"; + 缁撴潫鏈堜唤.Size = new Size(588, 30); + 缁撴潫鏈堜唤.Text = "缁撴潫鏈堜唤:"; + 缁撴潫鏈堜唤.TextSize = new Size(65, 18); + // + // layoutControlItem1 + // + layoutControlItem1.Control = gridControl11; + layoutControlItem1.ControlAlignment = ContentAlignment.TopLeft; + layoutControlItem1.CustomizationFormText = "layoutControlItem1"; + layoutControlItem1.Location = new Point(0, 60); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Size = new Size(588, 394); + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; + // + // layoutControlItem2 + // + layoutControlItem2.Control = btnOk; + layoutControlItem2.Location = new Point(306, 454); + layoutControlItem2.Name = "layoutControlItem2"; + layoutControlItem2.Size = new Size(141, 34); + layoutControlItem2.TextSize = new Size(0, 0); + layoutControlItem2.TextVisible = false; + // + // emptySpaceItem1 + // + emptySpaceItem1.AllowHotTrack = false; + emptySpaceItem1.Location = new Point(0, 454); + emptySpaceItem1.Name = "emptySpaceItem1"; + emptySpaceItem1.Size = new Size(306, 34); + emptySpaceItem1.TextSize = new Size(0, 0); + // + // layoutControlItem3 + // + layoutControlItem3.Control = Btncancel; + layoutControlItem3.Location = new Point(447, 454); + layoutControlItem3.Name = "layoutControlItem3"; + layoutControlItem3.Size = new Size(141, 34); + layoutControlItem3.TextSize = new Size(0, 0); + layoutControlItem3.TextVisible = false; + // + // repositoryItemButtonEdit11 + // + repositoryItemButtonEdit11.AllowFocused = false; + repositoryItemButtonEdit11.AutoHeight = false; + repositoryItemButtonEdit11.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph) }); + repositoryItemButtonEdit11.Name = "repositoryItemButtonEdit11"; + repositoryItemButtonEdit11.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + // + // dxErrorProvider1 + // + dxErrorProvider1.ContainerControl = this; // // AddElectricDlg // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(534, 401); - this.Controls.Add(this.dataLayoutControl1); - this.MaximizeBox = false; - this.MaximumSize = new System.Drawing.Size(550, 440); - this.MinimumSize = new System.Drawing.Size(550, 440); - this.Name = "AddElectricDlg"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "娣诲姞鐢佃垂"; - ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl1)).EndInit(); - this.dataLayoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.txtStartMonth.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.txtEndMonth.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.StartName)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.缁撴潫鏈堜唤)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); - this.ResumeLayout(false); - + AutoScaleDimensions = new SizeF(8F, 18F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(610, 514); + Controls.Add(dataLayoutControl1); + Margin = new Padding(3, 4, 3, 4); + MaximizeBox = false; + MaximumSize = new Size(550, 441); + MinimumSize = new Size(536, 441); + Name = "AddElectricDlg"; + StartPosition = FormStartPosition.CenterScreen; + Text = "娣诲姞鐢佃垂"; + ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).EndInit(); + dataLayoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)txtStartMonth.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)txtEndMonth.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)gridControl11).EndInit(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).EndInit(); + ((System.ComponentModel.ISupportInitialize)gridView2).EndInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit(); + ((System.ComponentModel.ISupportInitialize)Root).EndInit(); + ((System.ComponentModel.ISupportInitialize)StartName).EndInit(); + ((System.ComponentModel.ISupportInitialize)缁撴潫鏈堜唤).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit11).EndInit(); + ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).EndInit(); + ResumeLayout(false); } #endregion -- Gitblit v1.9.3