1
lixiaojun
2025-02-08 234ed90eaa92f2e02a78dfa164703de7547bf8c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace HStation.WinFrmUI
{
    public partial class SimulationFourlinkSingleMatchingDlg : DevExpress.XtraEditors.XtraForm
    {
        public SimulationFourlinkSingleMatchingDlg()
        {
            InitializeComponent();
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
        }
 
        public event Action<HydroFourlinkMatchingViewModel> ReloadDataEvent;
 
        private HydroFourlinkMatchingViewModel _fourlinkMatchingView = null;
 
        public void SetBindingData(HydroFourlinkMatchingViewModel FourlinkMatchingViewModel)
        {
            this.FourlinkSingleMatchingForm1.SetBindingData(FourlinkMatchingViewModel);
            _fourlinkMatchingView = FourlinkMatchingViewModel;
        }
 
        //确定
        private void btnComplete_Click(object sender, EventArgs e)
        {
            ReloadDataEvent.Invoke(_fourlinkMatchingView);
            this.Close();
        }
    }
}