From ad6ccae53244330399fe871d78209faa988219c3 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期三, 23 十月 2024 16:00:00 +0800 Subject: [PATCH] 增加MatchingViewModel字段 --- WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs | 70 ++++++++++++++++++++--------------- 1 files changed, 40 insertions(+), 30 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs index 51a0fb5..421f2d6 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/SysModuleListBoxCtrl.designer.cs @@ -45,9 +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(); @@ -81,19 +83,18 @@ 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(); + barBtnRefresh = new DevExpress.XtraBars.BarButtonItem(); ((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)searchControl1.Properties).BeginInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).BeginInit(); SuspendLayout(); // // barManager1 @@ -105,8 +106,8 @@ barManager1.DockControls.Add(barDockControlLeft); barManager1.DockControls.Add(barDockControlRight); barManager1.Form = this; - barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCkSearch, barBtnAdd, barBtnEdit, barBtnDelete, barButtonItem1, barButtonItem2, barButtonItem3 }); - barManager1.MaxItemId = 55; + barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { barCkSearch, barBtnAdd, barBtnEdit, barBtnDelete, barButtonItem1, barButtonItem2, barButtonItem3, barBtnRefresh }); + barManager1.MaxItemId = 56; // // bar1 // @@ -115,7 +116,7 @@ bar1.DockCol = 0; bar1.DockRow = 0; bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; - bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnAdd), new DevExpress.XtraBars.LinkPersistInfo(barBtnEdit), new DevExpress.XtraBars.LinkPersistInfo(barBtnDelete), new DevExpress.XtraBars.LinkPersistInfo(barCkSearch) }); + bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(barBtnAdd), new DevExpress.XtraBars.LinkPersistInfo(barBtnEdit), new DevExpress.XtraBars.LinkPersistInfo(barBtnDelete), new DevExpress.XtraBars.LinkPersistInfo(barCkSearch), new DevExpress.XtraBars.LinkPersistInfo(barBtnRefresh) }); bar1.OptionsBar.AllowQuickCustomization = false; bar1.OptionsBar.DrawBorder = false; bar1.OptionsBar.DrawDragBorder = false; @@ -227,6 +228,18 @@ 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); @@ -255,6 +268,17 @@ 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 // @@ -482,28 +506,13 @@ popupMenu2.Manager = barManager1; popupMenu2.Name = "popupMenu2"; // - // searchControl1 + // barBtnRefresh // - 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; + barBtnRefresh.Caption = "barButtonItem4"; + barBtnRefresh.Id = 55; + barBtnRefresh.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barButtonItem4.ImageOptions.SvgImage"); + barBtnRefresh.Name = "barBtnRefresh"; + barBtnRefresh.ItemClick += barBtnRefresh_ItemClick; // // SysModuleListBoxCtrl // @@ -521,14 +530,14 @@ ((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)searchControl1.Properties).EndInit(); - ((System.ComponentModel.ISupportInitialize)layoutControlItemSearch).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -587,5 +596,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraEditors.SearchControl searchControl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItemSearch; + private DevExpress.XtraBars.BarButtonItem barBtnRefresh; } } -- Gitblit v1.9.3