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/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs | 41 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 36 insertions(+), 5 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs index 1afd5cb..6cf8f52 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysTypeListBoxCtrl.designer.cs @@ -79,6 +79,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(); @@ -88,6 +90,8 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit(); SuspendLayout(); // // barManager1 @@ -184,6 +188,7 @@ // // layoutControl1 // + layoutControl1.Controls.Add(searchControl1); layoutControl1.Controls.Add(treeList1); layoutControl1.Dock = DockStyle.Fill; layoutControl1.Location = new Point(0, 30); @@ -198,13 +203,13 @@ treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); treeList1.DataSource = moduleViewModelBindingSource; - treeList1.Location = new Point(2, 2); + treeList1.Location = new Point(0, 20); treeList1.MenuManager = barManager1; treeList1.Name = "treeList1"; treeList1.OptionsBehavior.Editable = false; treeList1.OptionsBehavior.ReadOnly = true; treeList1.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.True; - treeList1.Size = new Size(272, 535); + treeList1.Size = new Size(276, 519); treeList1.TabIndex = 4; treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; @@ -224,7 +229,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); @@ -233,9 +238,10 @@ // layoutControlItem1 // layoutControlItem1.Control = treeList1; - 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; // @@ -461,6 +467,27 @@ popupMenu2.Manager = barManager1; popupMenu2.Name = "popupMenu2"; // + // searchControl1 + // + 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.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; + // // SysTypeListBoxCtrl // Appearance.BackColor = SystemColors.Control; @@ -483,6 +510,8 @@ ((System.ComponentModel.ISupportInitialize)layoutControlItem1).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(); } @@ -537,5 +566,7 @@ private DevExpress.XtraTreeList.Columns.TreeListColumn colImeMode; private BindingSource moduleViewModelBindingSource; private DevExpress.XtraTreeList.Columns.TreeListColumn colName; + private DevExpress.XtraEditors.SearchControl searchControl1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItemSearch; } } -- Gitblit v1.9.3