From 6b728cd400122e160805caec5851fca70e4d8f9a Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 28 八月 2024 13:59:44 +0800 Subject: [PATCH] 资产界面修改 --- WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs | 43 ++++++++++++++++++++++++++++++++++++++----- 1 files changed, 38 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs index 515202d..51a0fb5 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs @@ -81,6 +81,8 @@ barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); popupMenu1 = new DevExpress.XtraBars.PopupMenu(components); popupMenu2 = new DevExpress.XtraBars.PopupMenu(components); + searchControl1 = new DevExpress.XtraEditors.SearchControl(); + layoutControlItemSearch = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); @@ -90,6 +92,8 @@ ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit(); SuspendLayout(); // // barManager1 @@ -213,6 +217,7 @@ // // layoutControl1 // + layoutControl1.Controls.Add(searchControl1); layoutControl1.Controls.Add(listBoxControl1); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 30); @@ -224,9 +229,9 @@ // // listBoxControl1 // - listBoxControl1.Location = new Point(2, 2); + listBoxControl1.Location = new Point(0, 20); listBoxControl1.Name = "listBoxControl1"; - listBoxControl1.Size = new Size(272, 535); + listBoxControl1.Size = new Size(276, 519); listBoxControl1.StyleController = layoutControl1; listBoxControl1.TabIndex = 4; listBoxControl1.SelectedIndexChanged += listBoxControl1_SelectedIndexChanged; @@ -235,7 +240,7 @@ // Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; Root.GroupBordersVisible = false; - Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 }); + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItemSearch }); Root.Name = "Root"; Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); Root.Size = new Size(276, 539); @@ -244,9 +249,10 @@ // layoutControlItem1 // layoutControlItem1.Control = listBoxControl1; - layoutControlItem1.Location = new Point(0, 0); + layoutControlItem1.Location = new Point(0, 20); layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(276, 539); + layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlItem1.Size = new Size(276, 519); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // @@ -476,6 +482,29 @@ popupMenu2.Manager = barManager1; popupMenu2.Name = "popupMenu2"; // + // searchControl1 + // + searchControl1.Client = listBoxControl1; + searchControl1.Location = new Point(0, 0); + searchControl1.MenuManager = barManager1; + searchControl1.Name = "searchControl1"; + searchControl1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Repository.ClearButton(), new DevExpress.XtraEditors.Repository.SearchButton() }); + searchControl1.Properties.Client = listBoxControl1; + searchControl1.Size = new Size(276, 20); + searchControl1.StyleController = layoutControl1; + searchControl1.TabIndex = 5; + // + // layoutControlItemSearch + // + layoutControlItemSearch.Control = searchControl1; + layoutControlItemSearch.Location = new Point(0, 0); + layoutControlItemSearch.Name = "layoutControlItemSearch"; + layoutControlItemSearch.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlItemSearch.Size = new Size(276, 20); + layoutControlItemSearch.TextSize = new Size(0, 0); + layoutControlItemSearch.TextVisible = false; + layoutControlItemSearch.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; + // // SysModuleListBoxCtrl // Appearance.BackColor = SystemColors.Control; @@ -498,6 +527,8 @@ ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)popupMenu1).EndInit(); ((System.ComponentModel.ISupportInitialize)popupMenu2).EndInit(); + ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -554,5 +585,7 @@ private BindingSource moduleViewModelBindingSource; private DevExpress.XtraEditors.ListBoxControl listBoxControl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraEditors.SearchControl searchControl1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItemSearch; } } -- Gitblit v1.9.3