From 3b08b5c772ffc0c10644c1aaa9f7b2447582c858 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 14 十月 2024 17:50:24 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs | 86 ++++++++++++++++++++++++++++++------------- 1 files changed, 60 insertions(+), 26 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs index d525a81..029315a 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs @@ -45,7 +45,11 @@ barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); barRoot = new DevExpress.XtraBars.BarSubItem(); layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + searchControl1 = new DevExpress.XtraEditors.SearchControl(); + listBoxControl1 = new DevExpress.XtraEditors.ListBoxControl(); Root = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItemSearch = new DevExpress.XtraLayout.LayoutControlItem(); moduleViewModelBindingSource = new BindingSource(components); colAppearance = new DevExpress.XtraTreeList.Columns.TreeListColumn(); colAutoScrollMargin = new DevExpress.XtraTreeList.Columns.TreeListColumn(); @@ -79,17 +83,17 @@ barRootBasicInfoMgr = new DevExpress.XtraBars.BarSubItem(); popupMenu1 = new DevExpress.XtraBars.PopupMenu(components); popupMenu2 = new DevExpress.XtraBars.PopupMenu(components); - listBoxControl1 = new DevExpress.XtraEditors.ListBoxControl(); - layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)barManager1).BeginInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); layoutControl1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).BeginInit(); + ((System.ComponentModel.ISupportInitialize)listBoxControl1).BeginInit(); ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit(); ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu1).BeginInit(); ((System.ComponentModel.ISupportInitialize)popupMenu2).BeginInit(); - ((System.ComponentModel.ISupportInitialize)listBoxControl1).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).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); @@ -222,15 +227,57 @@ layoutControl1.TabIndex = 6; layoutControl1.Text = "layoutControl1"; // + // 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; + // + // listBoxControl1 + // + listBoxControl1.Location = new Point(0, 20); + listBoxControl1.Name = "listBoxControl1"; + listBoxControl1.Size = new Size(276, 519); + listBoxControl1.StyleController = layoutControl1; + listBoxControl1.TabIndex = 4; + listBoxControl1.SelectedIndexChanged += listBoxControl1_SelectedIndexChanged; + // // Root // 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); Root.TextVisible = false; + // + // layoutControlItem1 + // + layoutControlItem1.Control = listBoxControl1; + layoutControlItem1.Location = new Point(0, 20); + layoutControlItem1.Name = "layoutControlItem1"; + 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; + // + // 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; // // moduleViewModelBindingSource // @@ -458,24 +505,7 @@ popupMenu2.Manager = barManager1; popupMenu2.Name = "popupMenu2"; // - // listBoxControl1 - // - listBoxControl1.Location = new Point(2, 2); - listBoxControl1.Name = "listBoxControl1"; - listBoxControl1.Size = new Size(272, 535); - listBoxControl1.StyleController = layoutControl1; - listBoxControl1.TabIndex = 4; - // - // layoutControlItem1 - // - layoutControlItem1.Control = listBoxControl1; - layoutControlItem1.Location = new Point(0, 0); - layoutControlItem1.Name = "layoutControlItem1"; - layoutControlItem1.Size = new Size(276, 539); - layoutControlItem1.TextSize = new Size(0, 0); - layoutControlItem1.TextVisible = false; - // - // SysModuleTreeListCtrl + // SysModuleListBoxCtrl // Appearance.BackColor = SystemColors.Control; Appearance.Options.UseBackColor = true; @@ -486,17 +516,19 @@ Controls.Add(barDockControlRight); Controls.Add(barDockControlBottom); Controls.Add(barDockControlTop); - Name = "SysModuleTreeListCtrl"; + Name = "SysModuleListBoxCtrl"; Size = new Size(276, 569); ((System.ComponentModel.ISupportInitialize)barManager1).EndInit(); ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); layoutControl1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)searchControl1.Properties).EndInit(); + ((System.ComponentModel.ISupportInitialize)listBoxControl1).EndInit(); ((System.ComponentModel.ISupportInitialize)Root).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); + ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit(); ((System.ComponentModel.ISupportInitialize)moduleViewModelBindingSource).EndInit(); ((System.ComponentModel.ISupportInitialize)popupMenu1).EndInit(); ((System.ComponentModel.ISupportInitialize)popupMenu2).EndInit(); - ((System.ComponentModel.ISupportInitialize)listBoxControl1).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -553,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