From bbf62b879c9799a47f4e3d7e5bc10ff1763b7b75 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期日, 03 十一月 2024 14:58:25 +0800 Subject: [PATCH] 计算面板 --- WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropGroupTreeListCtrl.designer.cs | 44 ++++++++++++++++++++++++++++++++------------ 1 files changed, 32 insertions(+), 12 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropGroupTreeListCtrl.designer.cs b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropGroupTreeListCtrl.designer.cs index 56f440d..ab9d5f5 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropGroupTreeListCtrl.designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/SysPropGroupTreeListCtrl.designer.cs @@ -36,6 +36,8 @@ barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); barBtnDelete = new DevExpress.XtraBars.BarButtonItem(); barCkSearch = new DevExpress.XtraBars.BarCheckItem(); + barBtnRefresh = new DevExpress.XtraBars.BarButtonItem(); + barCheckSorter = new DevExpress.XtraBars.BarCheckItem(); standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl(); barDockControlTop = new DevExpress.XtraBars.BarDockControl(); barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); @@ -109,8 +111,8 @@ barManager1.DockControls.Add(barDockControlRight); barManager1.DockControls.Add(standaloneBarDockControl1); 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, barCheckSorter }); + barManager1.MaxItemId = 58; // // bar1 // @@ -118,7 +120,7 @@ bar1.DockCol = 0; bar1.DockRow = 0; bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Standalone; - 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), new DevExpress.XtraBars.LinkPersistInfo(barCheckSorter) }); bar1.OptionsBar.AllowQuickCustomization = false; bar1.OptionsBar.DrawBorder = false; bar1.OptionsBar.DrawDragBorder = false; @@ -163,10 +165,26 @@ barCkSearch.Name = "barCkSearch"; barCkSearch.CheckedChanged += barCkSearch_CheckedChanged; // + // barBtnRefresh + // + barBtnRefresh.Caption = "鍒锋柊"; + barBtnRefresh.Id = 55; + barBtnRefresh.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnRefresh.ImageOptions.SvgImage"); + barBtnRefresh.Name = "barBtnRefresh"; + barBtnRefresh.ItemClick += barBtnRefresh_ItemClick; + // + // barCheckSorter + // + barCheckSorter.Caption = "鎺掑簭"; + barCheckSorter.Id = 57; + barCheckSorter.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCheckSorter.ImageOptions.SvgImage"); + barCheckSorter.Name = "barCheckSorter"; + barCheckSorter.CheckedChanged += barCheckSorter_CheckedChanged; + // // standaloneBarDockControl1 // standaloneBarDockControl1.CausesValidation = false; - standaloneBarDockControl1.Location = new Point(2, 22); + standaloneBarDockControl1.Location = new Point(2, 24); standaloneBarDockControl1.Manager = barManager1; standaloneBarDockControl1.Name = "standaloneBarDockControl1"; standaloneBarDockControl1.Size = new Size(241, 30); @@ -245,7 +263,7 @@ // typeTreeListLookUpEdit1.Location = new Point(0, 0); typeTreeListLookUpEdit1.Name = "typeTreeListLookUpEdit1"; - typeTreeListLookUpEdit1.Size = new Size(245, 20); + typeTreeListLookUpEdit1.Size = new Size(245, 22); typeTreeListLookUpEdit1.TabIndex = 0; // // treeList1 @@ -253,12 +271,12 @@ treeList1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName }); treeList1.DataSource = propGroupTreeListViewModelBindingSource; - treeList1.Location = new Point(0, 54); + treeList1.Location = new Point(0, 56); treeList1.MenuManager = barManager1; treeList1.Name = "treeList1"; treeList1.OptionsBehavior.Editable = false; treeList1.OptionsBehavior.ReadOnly = true; - treeList1.Size = new Size(245, 515); + treeList1.Size = new Size(245, 513); treeList1.TabIndex = 2; treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeView; treeList1.FocusedNodeChanged += treeList1_FocusedNodeChanged; @@ -287,17 +305,17 @@ // layoutControlItem1 // layoutControlItem1.Control = treeList1; - layoutControlItem1.Location = new Point(0, 54); + layoutControlItem1.Location = new Point(0, 56); layoutControlItem1.Name = "layoutControlItem1"; layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - layoutControlItem1.Size = new Size(245, 515); + layoutControlItem1.Size = new Size(245, 513); layoutControlItem1.TextSize = new Size(0, 0); layoutControlItem1.TextVisible = false; // // layoutControlItem3 // layoutControlItem3.Control = standaloneBarDockControl1; - layoutControlItem3.Location = new Point(0, 20); + layoutControlItem3.Location = new Point(0, 22); layoutControlItem3.Name = "layoutControlItem3"; layoutControlItem3.Size = new Size(245, 34); layoutControlItem3.TextSize = new Size(0, 0); @@ -309,7 +327,7 @@ layoutControlItem2.Location = new Point(0, 0); layoutControlItem2.Name = "layoutControlItem2"; layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - layoutControlItem2.Size = new Size(245, 20); + layoutControlItem2.Size = new Size(245, 22); layoutControlItem2.TextSize = new Size(0, 0); layoutControlItem2.TextVisible = false; // @@ -615,10 +633,12 @@ private DevExpress.XtraTreeList.Columns.TreeListColumn colPadding; private DevExpress.XtraTreeList.Columns.TreeListColumn colImeMode; private DevExpress.XtraTreeList.Columns.TreeListColumn colName; - private SysTypeTreeListLookUpEdit typeTreeListLookUpEdit1; + public SysTypeTreeListLookUpEdit typeTreeListLookUpEdit1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private BindingSource propGroupTreeListViewModelBindingSource; private DevExpress.XtraBars.StandaloneBarDockControl standaloneBarDockControl1; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraBars.BarButtonItem barBtnRefresh; + private DevExpress.XtraBars.BarCheckItem barCheckSorter; } } -- Gitblit v1.9.3