Shuxia Ning
2024-12-11 f2cc8078a00824a319dab44841f7cb64fdee76b0
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 SimulationThreelinkSingleMatchingDlg : DevExpress.XtraEditors.XtraForm
    {
        public SimulationThreelinkSingleMatchingDlg()
        {
            InitializeComponent();
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
        }
 
        public event Action<HydroThreelinkMatchingViewModel> ReloadDataEvent;
 
        private HydroThreelinkMatchingViewModel _threelinkMatchingView = null;
 
        public void SetBindingData(HydroThreelinkMatchingViewModel ThreelinkMatchingViewModel)
        {
            this.ThreeLinkSingleMatchingForm1.SetBindingData(ThreelinkMatchingViewModel);
            _threelinkMatchingView = ThreelinkMatchingViewModel;
        }
 
        //确定
        private void btnComplete_Click(object sender, EventArgs e)
        {
            ReloadDataEvent.Invoke(_threelinkMatchingView);
            this.Close();
        }
    }
}