duheng
2024-09-20 8981c9f11f01973ddbf9718ff5935ebfe6dc6b40
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);