From d88ae862d5eda101f20385f3e34a2d7e6f9d3471 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 19 九月 2024 15:42:42 +0800 Subject: [PATCH] 提交自动匹配修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 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 3c7e180..9eb376e 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,10 +2,13 @@ { public partial class AssetsAutoMatchingMainDlg : DevExpress.XtraEditors.XtraForm { - public AssetsAutoMatchingMainDlg() + public AssetsAutoMatchingMainDlg(AssetsAutoMatchingInputViewModel assetsAutoMatchingInputViewModel) { + _assetsAutoMatching = assetsAutoMatchingInputViewModel; InitializeComponent(); } + + private AssetsAutoMatchingInputViewModel _assetsAutoMatching = null; public void SetBindingData() { @@ -15,5 +18,13 @@ private void btnComplete_Click(object sender, EventArgs e) { } + + //鑷姩鍖归厤 + private void BtnAutoMatching_Click(object sender, EventArgs e) + { + WaitFormHelper.ShowWaitForm(this); + this.AssetsMainChoicePage.SetMatching(_assetsAutoMatching); + WaitFormHelper.HideWaitForm(this); + } } } \ No newline at end of file -- Gitblit v1.9.3