| | |
| | | { |
| | | return; |
| | | } |
| | | var dlg = new AddXhsProjectSimulationSchemeDlg(); |
| | | await dlg.SetBindingData(_projectSite.ID); |
| | | dlg.ReloadDataEvent += (scheme) => |
| | | { |
| | | this.xhsProjectSimulationFunctionMgrCtrl1.AppendScheme(scheme); |
| | | }; |
| | | //var dlg = new AddXhsProjectSimulationSchemeDlg(); |
| | | //await dlg.SetBindingData(_projectSite.ID); |
| | | //dlg.ReloadDataEvent += (scheme) => |
| | | //{ |
| | | // this.xhsProjectSimulationFunctionMgrCtrl1.AppendScheme(scheme); |
| | | //}; |
| | | //dlg.ShowDialog(); |
| | | |
| | | var dlg = new AddXhsSchemeDlg(); |
| | | await dlg.SetBindingData(_project, _projectSite, _hydroInfo); |
| | | dlg.ShowDialog(); |
| | | } |
| | | |