From 8a8983dd2053b631c559b257b1501d740bedf4a5 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 20 九月 2024 16:09:12 +0800
Subject: [PATCH] 优化匹配界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs
index 1b7cbe4..90a857d 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs
@@ -2,9 +2,8 @@
 {
     public partial class AssetsAutoMatchingMainDlg : DevExpress.XtraEditors.XtraForm
     {
-        public AssetsAutoMatchingMainDlg(AssetsAutoMatchingInputViewModel assetsAutoMatchingInputViewModel)
+        public AssetsAutoMatchingMainDlg()
         {
-            _assetsAutoMatching = assetsAutoMatchingInputViewModel;
             InitializeComponent();
         }
 
@@ -12,6 +11,12 @@
 
         private AssetsAutoMatchingInputViewModel _assetsAutoMatching = null;
 
+        public void SetBindingData(AssetsAutoMatchingInputViewModel assetsAutoMatchingInputViewModel)
+        {
+            _assetsAutoMatching = assetsAutoMatchingInputViewModel;
+            this.AssetsMainChoicePage.SetBindingData(_assetsAutoMatching);
+        }
+
         //瀹屾垚
         private void btnComplete_Click(object sender, EventArgs e)
         {

--
Gitblit v1.9.3