From 8e1523be1951458d436c9eb0686cd0f6dbf4e167 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 18 十月 2024 17:55:16 +0800 Subject: [PATCH] 基础模块增加排序功能 --- WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.Designer.cs | 48 +++++++++++++++++++++++++++++++++--------------- 1 files changed, 33 insertions(+), 15 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.Designer.cs index 9a00449..c534975 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/UpdateCatalogParentDlg.Designer.cs @@ -28,6 +28,7 @@ /// </summary> private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UpdateCatalogParentDlg)); emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); ComboBoxEditParentsChoice = new DevExpress.XtraEditors.TreeListLookUpEdit(); @@ -40,6 +41,7 @@ layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + simpleLabelItemDelete = new DevExpress.XtraLayout.SimpleLabelItem(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); @@ -50,6 +52,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).BeginInit(); SuspendLayout(); // // emptySpaceItem1 @@ -83,9 +86,9 @@ ComboBoxEditParentsChoice.Properties.PopupSizeable = false; ComboBoxEditParentsChoice.Properties.TreeList = treeListLookUpEdit1TreeList; ComboBoxEditParentsChoice.Properties.ValueMember = "ID"; - ComboBoxEditParentsChoice.Size = new Size(244, 20); + ComboBoxEditParentsChoice.Size = new Size(211, 20); ComboBoxEditParentsChoice.StyleController = layoutControl1; - ComboBoxEditParentsChoice.TabIndex = 10; + ComboBoxEditParentsChoice.TabIndex = 0; // // treeListLookUpEdit1TreeList // @@ -110,22 +113,22 @@ btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Danger; btnCancel.Appearance.Options.UseBackColor = true; btnCancel.DialogResult = DialogResult.Cancel; - btnCancel.Location = new Point(280, 36); + btnCancel.Location = new Point(271, 36); btnCancel.Name = "btnCancel"; - btnCancel.Size = new Size(40, 22); + btnCancel.Size = new Size(49, 22); btnCancel.StyleController = layoutControl1; - btnCancel.TabIndex = 2; + btnCancel.TabIndex = 3; btnCancel.Text = "鍙栨秷"; // // BtnOk // BtnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; BtnOk.Appearance.Options.UseBackColor = true; - BtnOk.Location = new Point(231, 36); + BtnOk.Location = new Point(218, 36); BtnOk.Name = "BtnOk"; - BtnOk.Size = new Size(45, 22); + BtnOk.Size = new Size(49, 22); BtnOk.StyleController = layoutControl1; - BtnOk.TabIndex = 0; + BtnOk.TabIndex = 2; BtnOk.Text = "瀹屾垚"; BtnOk.Click += BtnOk_Click; // @@ -133,7 +136,7 @@ // Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem1, emptySpaceItem3, layoutControlItem3 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2, layoutControlItem1, emptySpaceItem3, layoutControlItem3, simpleLabelItemDelete }); Root.Name = "Root"; Root.Size = new Size(332, 72); Root.TextVisible = false; @@ -141,18 +144,18 @@ // layoutControlItem2 // layoutControlItem2.Control = btnCancel; - layoutControlItem2.Location = new Point(268, 24); + layoutControlItem2.Location = new Point(259, 24); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(44, 28); + layoutControlItem2.Size = new Size(53, 28); layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; // // layoutControlItem1 // layoutControlItem1.Control = BtnOk; - layoutControlItem1.Location = new Point(219, 24); + layoutControlItem1.Location = new Point(206, 24); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(49, 28); + layoutControlItem1.Size = new Size(53, 28); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // @@ -161,7 +164,7 @@ emptySpaceItem3.AllowHotTrack = false; emptySpaceItem3.Location = new Point(0, 24); emptySpaceItem3.Name = "emptySpaceItem3"; - emptySpaceItem3.Size = new Size(219, 28); + emptySpaceItem3.Size = new Size(206, 28); emptySpaceItem3.TextSize = new Size(0, 0); // // layoutControlItem3 @@ -169,9 +172,22 @@ layoutControlItem3.Control = ComboBoxEditParentsChoice; layoutControlItem3.Location = new Point(0, 0); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(312, 24); + layoutControlItem3.Size = new Size(279, 24); layoutControlItem3.Text = "閫夋嫨鐖剁骇:"; layoutControlItem3.TextSize = new Size(52, 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); + simpleLabelItemDelete.Click += simpleLabelItemDelete_Click; // // UpdateCatalogParentDlg // @@ -192,6 +208,7 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); ((System.ComponentModel.ISupportInitialize)emptySpaceItem3).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); + ((System.ComponentModel.ISupportInitialize)simpleLabelItemDelete).EndInit(); ResumeLayout(false); } @@ -209,5 +226,6 @@ private DevExpress.XtraTreeList.TreeList treeListLookUpEdit1TreeList; private DevExpress.XtraTreeList.Columns.TreeListColumn treeListColumn1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItemDelete; } } \ No newline at end of file -- Gitblit v1.9.3