duheng
2024-11-29 9c1af7f5ec91917b4276b25406c86386fd337fbb
WinFrmUI/PBS.WinFrmUI.WE.Core/WaterWE/01-catalogue/CatalogueCtrl.cs
文件名从 WinFrmUI/PBS.WinFrmUI.WE.Core/新文件夹/01-catalogue/CatalogueCtrl.cs 修改
@@ -3,7 +3,7 @@
using Yw.Untity;
using Yw.WinFrmUI;
namespace HStation.WinFrmUI.WE
namespace PBS.WinFrmUI.WE
{
    /// <summary>
@@ -15,19 +15,19 @@
        {
            InitializeComponent();
            this.treeList1.InitialDefaultSettings();
            this.treeList1.SelectImageList = ImageLib.Lib;
            //   this.treeList1.SelectImageList = ImageLib.Lib;
        }
        //鑱氱劍鏀瑰彉浜嬩欢
        public event Action<long> ReloadEvent = null;
        private BLL.WE.Catalogue _bll = null;
        private PBS.BLL.WE.Catalogue _bll = null;
        private List<CatalogueViewModel> _allBindingList = new List<CatalogueViewModel>();
        public async void SetBindingData()
        {
            _bll = new BLL.WE.Catalogue();
            _bll = new PBS.BLL.WE.Catalogue();
            var alllist = await _bll.GetAll();
            if (alllist != null)
            {
@@ -69,7 +69,7 @@
                    var select = await _bll.GetByID(Convert.ToInt64(currentId));
                    rhs.ParentIds = TreeParentIdsHelper.GetChildParentIds(select.ID, select.ParentIds);
                }
                var bll = new BLL.WE.Catalogue();
                var bll = new PBS.BLL.WE.Catalogue();
                var id = await bll.Insert(rhs);
                if (id > 0)
                {