From 1fe41eb1c9f2b2914b4a66a145f1ad0a75b9c915 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期五, 18 十月 2024 11:18:33 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.cs
index b2ffe55..56056c6 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/06-threeLink/02-main/ThreeLinkManageMainPage.cs
@@ -24,8 +24,8 @@
         {
             _bll = new BLL.AssetsThreelinkMain();
             this.threeLinkTreeListCtrl1.SetBindingData();
-            this.AssetsThreelinkSeriesViewModelBindingSource.DataSource = _allBindingList;
-            this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+            this.threeLinkViewModelBindingSource.DataSource = _allBindingList;
+            this.threeLinkViewModelBindingSource.ResetBindings(false);
         }
 
         private async void ThreeLinkTreeListCtrl1_ReloadEvent(long SeriesID)
@@ -39,7 +39,7 @@
                     _allBindingList.Add(new ThreeLinkViewModel(item));
                 }
             }
-            this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+            this.threeLinkViewModelBindingSource.ResetBindings(false);
         }
 
         /// <summary>
@@ -60,7 +60,7 @@
                 if (await _bll.UpdateDefaultStatus(vm.ID, rhs))
                 {
                     vm.Reset(await _bll.GetByID(vm.ID));
-                    this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+                    this.threeLinkViewModelBindingSource.ResetBindings(false);
                     return true;
                 }
                 return false;
@@ -86,7 +86,7 @@
                 {
                     rhs.ID = id;
                     _allBindingList.Add(new ThreeLinkViewModel(await _bll.GetByID(id)));
-                    this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+                    this.threeLinkViewModelBindingSource.ResetBindings(false);
                     return true;
                 }
                 return false;
@@ -113,7 +113,7 @@
                if (await _bll.Update(rhs))
                {
                    vm.Reset(rhs);
-                   this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+                   this.threeLinkViewModelBindingSource.ResetBindings(false);
                    return true;
                }
                return false;
@@ -136,7 +136,7 @@
             if (groupresult)
             {
                 _allBindingList.Remove(currentVm);
-                this.AssetsThreelinkSeriesViewModelBindingSource.ResetBindings(false);
+                this.threeLinkViewModelBindingSource.ResetBindings(false);
                 TipFormHelper.ShowSucceed("鍒犻櫎鎴愬姛!");
             }
             else

--
Gitblit v1.9.3