lixiaojun
2024-12-19 e37b6f2ca026097b83da3ec989cb0d454cceddad
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 SimulationBluntheadSingleMatchingDlg : DevExpress.XtraEditors.XtraForm
    {
        public SimulationBluntheadSingleMatchingDlg()
        {
            InitializeComponent();
            this.IconOptions.Icon = Yw.WinFrmUI.GlobalParas.AppIcon;
        }
 
        public event Action<HydroBluntheadMatchingViewModel> ReloadDataEvent;
 
        private HydroBluntheadMatchingViewModel _bluntheadMatchingView;
 
        public void SetBindingData(HydroBluntheadMatchingViewModel BluntheadMatchingViewModel)
        {
            this.BluntheadSingleMatchingForm1.SetBindingData(BluntheadMatchingViewModel);
            _bluntheadMatchingView = BluntheadMatchingViewModel;
        }
 
        //确定
        private void btnComplete_Click(object sender, EventArgs e)
        {
            ReloadDataEvent.Invoke(_bluntheadMatchingView);
            this.Close();
        }
    }
}