From dfe7e1653f8309e23e4c314cd58ac4ff7ce49dbc Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期五, 28 三月 2025 14:50:47 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Basic.Core/04-SysPropManage/SysPropManageMainPanel.cs | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic.Core/04-SysPropManage/SysPropManageMainPanel.cs b/WinFrmUI/HStation.WinFrmUI.Basic.Core/04-SysPropManage/SysPropManageMainPanel.cs index a51aeb0..ff0b91b 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic.Core/04-SysPropManage/SysPropManageMainPanel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic.Core/04-SysPropManage/SysPropManageMainPanel.cs @@ -13,11 +13,14 @@ this.PageTitle.HeaderSvgImage = this.svgImage32[0]; this.PageTitle.SvgImageSize = new Size(24, 24); this.propGroupTreeListCtrl1.FocusedChangedEvent += ModuleTreeListCtrl1_FocusedChangedEvent; + behaviorManager1.Detach<DragDropBehavior>(gridView1); } private List<SysPropViewModel> _allBindingList = new List<SysPropViewModel>(); private Yw.BLL.SysProp _bll = null; + + private long _groupID; public override void InitialDataSource() { @@ -28,6 +31,7 @@ //鑱氱劍鍒囨崲 private async void ModuleTreeListCtrl1_FocusedChangedEvent(long groupID) { + _groupID = groupID; var alllist = await _bll.GetByGroupID(groupID); _allBindingList.Clear(); foreach (var item in alllist) @@ -222,5 +226,10 @@ } }); } + + private void btnRefresh_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) + { + ModuleTreeListCtrl1_FocusedChangedEvent(_groupID); + } } } \ No newline at end of file -- Gitblit v1.9.3