From 8981c9f11f01973ddbf9718ff5935ebfe6dc6b40 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 20 九月 2024 18:33:13 +0800 Subject: [PATCH] 报错修改 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-AutoMatching/AssetsAutoMatchingMainDlg.cs | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 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 90a857d..f65d8f1 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 @@ -5,13 +5,21 @@ public AssetsAutoMatchingMainDlg() { InitializeComponent(); + this.AssetsMainChoicePage.FormRowClickEvent += AssetsMainChoicePage_FormRowClickEvent; } - public event Func<AssetsAutoMatchingInputViewModel, bool> RelaodEvent = null; + private void AssetsMainChoicePage_FormRowClickEvent(string code) + { + AssetsMatchingClickEvent.Invoke(code); + } - private AssetsAutoMatchingInputViewModel _assetsAutoMatching = null; + public event Func<AssetsAutoMatchingViewModel, bool> RelaodEvent = null; - public void SetBindingData(AssetsAutoMatchingInputViewModel assetsAutoMatchingInputViewModel) + public event Action<string> AssetsMatchingClickEvent = null; + + private AssetsAutoMatchingViewModel _assetsAutoMatching = null; + + public void SetBindingData(AssetsAutoMatchingViewModel assetsAutoMatchingInputViewModel) { _assetsAutoMatching = assetsAutoMatchingInputViewModel; this.AssetsMainChoicePage.SetBindingData(_assetsAutoMatching); -- Gitblit v1.9.3