Shuxia Ning
2024-08-14 d3cf19f5fc555eb53d74ca08f157cca5c3c8311c
WinFrmUI/HStation.WinFrmUI.Basic/01-SysCatalogManage/SysCatalogManageMainPanel.cs
@@ -9,6 +9,7 @@
            this.PageTitle.HeaderSvgImage = this.svgImage32[1];
            this.PageTitle.SvgImageSize = new Size(24, 24);
            this.typeTreeListCtrl2.FocusedChangedEvent += TypeTreeListCtrl2_FocusedChangedEvent;
        }
        private List<SysCatalogViewModel> _allBindingList = null;
@@ -18,13 +19,13 @@
        public override void InitialDataSource()
        {
            this.typeTreeListCtrl2.SetBindingData();
            _bll = new Yw.BLL.SysCatalog();
        }
        //聚焦切换
        private async void TypeTreeListCtrl2_FocusedChangedEvent(long typeID)
        {
            _allBindingList = new List<SysCatalogViewModel>();
            _bll = new Yw.BLL.SysCatalog();
            var alllist = await _bll.GetByTypeID(typeID);
            _allBindingList.Clear();
            foreach (var item in alllist)