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/EditElectricDlg.Designer.cs | 465 ++++++++++++++++++++++++++++----------------------------- 1 files changed, 230 insertions(+), 235 deletions(-) diff --git a/WinFrmUI/PBS.WinFrmUI/03-elecPrice/EditElectricDlg.Designer.cs b/WinFrmUI/PBS.WinFrmUI/03-elecPrice/EditElectricDlg.Designer.cs index 39ae5b7..f978f48 100644 --- a/WinFrmUI/PBS.WinFrmUI/03-elecPrice/EditElectricDlg.Designer.cs +++ b/WinFrmUI/PBS.WinFrmUI/03-elecPrice/EditElectricDlg.Designer.cs @@ -28,285 +28,280 @@ /// </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(EditElectricDlg)); 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(); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); - 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(); - this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - this.dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); - this.Btncancel = new DevExpress.XtraEditors.SimpleButton(); - this.btnOk = new DevExpress.XtraEditors.SimpleButton(); - 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.Root = new DevExpress.XtraLayout.LayoutControlGroup(); - 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.repositoryItemButtonEdit11 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - this.dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(this.components); - this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl1)).BeginInit(); - this.dataLayoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).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.repositoryItemButtonEdit11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit(); - this.SuspendLayout(); + repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); + Btncancel = new DevExpress.XtraEditors.SimpleButton(); + btnOk = new DevExpress.XtraEditors.SimpleButton(); + 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(); + repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + Root = new DevExpress.XtraLayout.LayoutControlGroup(); + 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)repositoryItemButtonEdit1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).BeginInit(); + dataLayoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)gridControl11).BeginInit(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)gridView2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)Root).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(); // // 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"; + repositoryItemButtonEdit1.AutoHeight = false; + repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph) }); + repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; // // dataLayoutControl1 // - this.dataLayoutControl1.Controls.Add(this.Btncancel); - this.dataLayoutControl1.Controls.Add(this.btnOk); - 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(854, 166, 650, 400); - this.dataLayoutControl1.Root = this.Root; - this.dataLayoutControl1.Size = new System.Drawing.Size(539, 401); - this.dataLayoutControl1.TabIndex = 0; - this.dataLayoutControl1.Text = "dataLayoutControl1"; + dataLayoutControl1.Controls.Add(Btncancel); + dataLayoutControl1.Controls.Add(btnOk); + 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(854, 166, 650, 400); + dataLayoutControl1.Root = Root; + dataLayoutControl1.Size = new Size(616, 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(407, 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 = 9; - this.Btncancel.Text = "鍙栨秷"; + Btncancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; + Btncancel.Appearance.Options.UseBackColor = true; + Btncancel.DialogResult = DialogResult.Cancel; + Btncancel.Location = new Point(466, 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 = 9; + 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(283, 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 = 8; - 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(325, 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 = 8; + btnOk.Text = "纭畾"; + btnOk.Click += btnOk_Click; // // gridControl11 // - this.gridControl11.DataSource = this.bindingSource1; - this.gridControl11.Location = new System.Drawing.Point(12, 12); - this.gridControl11.MainView = this.gridView2; - this.gridControl11.Name = "gridControl11"; - this.gridControl11.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { - this.repositoryItemButtonEdit2}); - this.gridControl11.Size = new System.Drawing.Size(515, 351); - 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, 16); + gridControl11.MainView = gridView2; + gridControl11.Margin = new Padding(3, 4, 3, 4); + gridControl11.Name = "gridControl11"; + gridControl11.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit2 }); + gridControl11.Size = new Size(590, 448); + 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.repositoryItemButtonEdit2; - this.colDelete.Name = "colDelete"; - this.colDelete.OptionsColumn.AllowEdit = false; - this.colDelete.Visible = true; - this.colDelete.VisibleIndex = 4; - this.colDelete.Width = 52; - // - // Root - // - this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.Root.GroupBordersVisible = false; - this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, - this.layoutControlItem2, - this.emptySpaceItem1, - this.layoutControlItem3}); - this.Root.Name = "Root"; - this.Root.Size = new System.Drawing.Size(539, 401); - this.Root.TextVisible = false; - // - // 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, 0); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(519, 355); - 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(271, 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(271, 26); - this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.Btncancel; - this.layoutControlItem3.Location = new System.Drawing.Point(395, 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; - // - // 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; - // - // dxErrorProvider1 - // - this.dxErrorProvider1.ContainerControl = this; + colDelete.Caption = "鍒犻櫎"; + colDelete.ColumnEdit = repositoryItemButtonEdit2; + colDelete.MinWidth = 23; + colDelete.Name = "colDelete"; + colDelete.OptionsColumn.AllowEdit = false; + colDelete.Visible = true; + colDelete.VisibleIndex = 4; + colDelete.Width = 59; // // repositoryItemButtonEdit2 // - this.repositoryItemButtonEdit2.AutoHeight = false; - this.repositoryItemButtonEdit2.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(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); - this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2"; - this.repositoryItemButtonEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + repositoryItemButtonEdit2.AutoHeight = false; + editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); + repositoryItemButtonEdit2.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) }); + repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2"; + repositoryItemButtonEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + // + // Root + // + Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + Root.GroupBordersVisible = false; + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, emptySpaceItem1, layoutControlItem3 }); + Root.Name = "Root"; + Root.Size = new Size(616, 514); + Root.TextVisible = false; + // + // layoutControlItem1 + // + layoutControlItem1.Control = gridControl11; + layoutControlItem1.ControlAlignment = ContentAlignment.TopLeft; + layoutControlItem1.CustomizationFormText = "layoutControlItem1"; + layoutControlItem1.Location = new Point(0, 0); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Size = new Size(594, 454); + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; + // + // layoutControlItem2 + // + layoutControlItem2.Control = btnOk; + layoutControlItem2.Location = new Point(312, 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(312, 34); + emptySpaceItem1.TextSize = new Size(0, 0); + // + // layoutControlItem3 + // + layoutControlItem3.Control = Btncancel; + layoutControlItem3.Location = new Point(453, 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; // // EditElectricDlg // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(539, 401); - this.Controls.Add(this.dataLayoutControl1); - this.MaximizeBox = false; - this.MaximumSize = new System.Drawing.Size(555, 440); - this.MinimumSize = new System.Drawing.Size(555, 440); - this.Name = "EditElectricDlg"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "缂栬緫鐢佃垂"; - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControl1)).EndInit(); - this.dataLayoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.gridControl11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.Root)).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.repositoryItemButtonEdit11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dxErrorProvider1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit(); - this.ResumeLayout(false); - + AutoScaleDimensions = new SizeF(8F, 18F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(616, 514); + Controls.Add(dataLayoutControl1); + Margin = new Padding(3, 4, 3, 4); + MaximizeBox = false; + MaximumSize = new Size(555, 441); + MinimumSize = new Size(541, 441); + Name = "EditElectricDlg"; + StartPosition = FormStartPosition.CenterScreen; + Text = "缂栬緫鐢佃垂"; + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit1).EndInit(); + ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).EndInit(); + dataLayoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)gridControl11).EndInit(); + ((System.ComponentModel.ISupportInitialize)bindingSource1).EndInit(); + ((System.ComponentModel.ISupportInitialize)gridView2).EndInit(); + ((System.ComponentModel.ISupportInitialize)repositoryItemButtonEdit2).EndInit(); + ((System.ComponentModel.ISupportInitialize)Root).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