From 3e2dd57ff0e7bddf72836d93208b53f0e3db22c4 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期三, 12 三月 2025 02:29:46 +0800 Subject: [PATCH] 颜色配置整改 --- WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.cs b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.cs index 7c86897..b449283 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic.Core/03-SysFlagManage/SysFlagManageMainPanel.cs @@ -13,11 +13,12 @@ this.PageTitle.HeaderSvgImage = this.svgImage32[0]; this.PageTitle.SvgImageSize = new Size(24, 24); this.sysFlagTreeListCtrl1.FocusedChangedEvent += ModuleTreeListCtrl1_FocusedChangedEvent; + behaviorManager1.Detach<DragDropBehavior>(gridView1); } private List<SysFlagViewModel> _allBindingList = new List<SysFlagViewModel>(); - private int _LastRowIndex; + private long _typeId; private Yw.BLL.SysFlag _bll = null; @@ -29,6 +30,7 @@ //鑱氱劍鍒囨崲 private async void ModuleTreeListCtrl1_FocusedChangedEvent(long typeId) { + _typeId = typeId; var alllist = await _bll.GetByTypeID(typeId); _allBindingList.Clear(); foreach (var item in alllist) @@ -225,5 +227,10 @@ } }); } + + private void btnRefresh_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) + { + ModuleTreeListCtrl1_FocusedChangedEvent(_typeId); + } } } \ No newline at end of file -- Gitblit v1.9.3