From 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 14:22:42 +0800 Subject: [PATCH] 优化细节问题 --- WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/AddMenuDlg.Designer.cs | 74 +++++++++++++++++++++++++++++++++++-- 1 files changed, 70 insertions(+), 4 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/AddMenuDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/AddMenuDlg.Designer.cs index 973a6c4..1c2dcd2 100644 --- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/AddMenuDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/01-menu/AddMenuDlg.Designer.cs @@ -29,6 +29,7 @@ private void InitializeComponent() { components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddMenuDlg)); dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); layoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); @@ -50,6 +51,10 @@ layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + simpleLabelItemDelete = new DevExpress.XtraLayout.SimpleLabelItem(); + simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); + simpleLabelItem2 = new DevExpress.XtraLayout.SimpleLabelItem(); + simpleLabelDelete = new DevExpress.XtraLayout.SimpleLabelItem(); ((System.ComponentModel.ISupportInitialize)dxErrorProvider1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); @@ -69,6 +74,10 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelDelete).BeginInit(); SuspendLayout(); // // dxErrorProvider1 @@ -88,7 +97,7 @@ layoutControl1.Location = new Point(0, 0); layoutControl1.Margin = new Padding(3, 2, 3, 2); layoutControl1.Name = "layoutControl1"; - layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(760, 110, 650, 400); + layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(549, 408, 650, 400); layoutControl1.Root = Root; layoutControl1.Size = new Size(444, 290); layoutControl1.TabIndex = 0; @@ -104,7 +113,7 @@ ComboBoxEditParentsChoice.Properties.PopupSizeable = false; ComboBoxEditParentsChoice.Properties.TreeList = treeListLookUpEdit1TreeList; ComboBoxEditParentsChoice.Properties.ValueMember = "ID"; - ComboBoxEditParentsChoice.Size = new Size(373, 20); + ComboBoxEditParentsChoice.Size = new Size(334, 20); ComboBoxEditParentsChoice.StyleController = layoutControl1; ComboBoxEditParentsChoice.TabIndex = 4; // @@ -203,7 +212,7 @@ // layoutControlGroup1.AllowDrawBackground = false; layoutControlGroup1.GroupBordersVisible = false; - layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4 }); + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { ItemForName, ItemForDescription, ItemForCode, layoutControlItem1, emptySpaceItem1, layoutControlItem2, layoutControlItem3, layoutControlItem4, simpleLabelDelete }); layoutControlGroup1.Location = new Point(0, 0); layoutControlGroup1.Name = "autoGeneratedGroup0"; layoutControlGroup1.Size = new Size(424, 270); @@ -275,7 +284,7 @@ layoutControlItem3.Control = ComboBoxEditParentsChoice; layoutControlItem3.Location = new Point(0, 48); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(424, 24); + layoutControlItem3.Size = new Size(385, 24); layoutControlItem3.Text = "鐖剁骇:"; layoutControlItem3.TextSize = new Size(35, 14); // @@ -288,6 +297,54 @@ layoutControlItem4.Size = new Size(424, 24); layoutControlItem4.Text = "<color=red>*</color>绫诲瀷:"; layoutControlItem4.TextSize = new Size(35, 14); + // + // simpleLabelItemDelete + // + simpleLabelItemDelete.AllowHotTrack = false; + simpleLabelItemDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItemDelete.ImageOptions.SvgImage"); + simpleLabelItemDelete.ImageOptions.SvgImageSize = new Size(20, 20); + simpleLabelItemDelete.Location = new Point(279, 0); + simpleLabelItemDelete.Name = "simpleLabelItemDelete"; + simpleLabelItemDelete.Size = new Size(33, 24); + simpleLabelItemDelete.Text = " "; + simpleLabelItemDelete.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; + simpleLabelItemDelete.TextSize = new Size(29, 20); + // + // simpleLabelItem1 + // + simpleLabelItem1.AllowHotTrack = false; + simpleLabelItem1.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem1.ImageOptions.SvgImage"); + simpleLabelItem1.ImageOptions.SvgImageSize = new Size(20, 20); + simpleLabelItem1.Location = new Point(279, 0); + simpleLabelItem1.Name = "simpleLabelItemDelete"; + simpleLabelItem1.Size = new Size(33, 24); + simpleLabelItem1.Text = " "; + simpleLabelItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; + simpleLabelItem1.TextSize = new Size(29, 20); + // + // simpleLabelItem2 + // + simpleLabelItem2.AllowHotTrack = false; + simpleLabelItem2.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem2.ImageOptions.SvgImage"); + simpleLabelItem2.ImageOptions.SvgImageSize = new Size(20, 20); + simpleLabelItem2.Location = new Point(379, 0); + simpleLabelItem2.Name = "simpleLabelItemDelete"; + simpleLabelItem2.Size = new Size(45, 24); + simpleLabelItem2.Text = " "; + simpleLabelItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; + simpleLabelItem2.TextSize = new Size(29, 20); + // + // simpleLabelDelete + // + simpleLabelDelete.AllowHotTrack = false; + simpleLabelDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("simpleLabelItem3.ImageOptions.SvgImage"); + simpleLabelDelete.ImageOptions.SvgImageSize = new Size(20, 20); + simpleLabelDelete.Location = new Point(385, 48); + simpleLabelDelete.Name = "simpleLabelDelete"; + simpleLabelDelete.Size = new Size(39, 24); + simpleLabelDelete.Text = " "; + simpleLabelDelete.TextSize = new Size(35, 20); + simpleLabelDelete.Click += simpleLabelDelete_Click; // // AddMenuDlg // @@ -318,6 +375,10 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem4).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItem2).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelDelete).EndInit(); ResumeLayout(false); } @@ -343,5 +404,10 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; private DevExpress.XtraEditors.ImageComboBoxEdit imageComboBoxMenuType; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemDelete; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelDelte; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelDelete; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem2; } } \ No newline at end of file -- Gitblit v1.9.3