| | |
| | | SvgImage svgImage |
| | | ) |
| | | { |
| | | WaitFormHelper.ShowWaitForm(this.FindForm(), "正在加载模型,请稍侯..."); |
| | | var dlg = new AddXhsSchemeDlg(); |
| | | dlg.Shown += delegate { WaitFormHelper.HideWaitForm(this.FindForm()); }; |
| | | dlg.ReloadDataEvent += (rhs) => |
| | | { |
| | | this.simulationFunctionMgrCtrl1.AppendScheme(rhs); |
| | | }; |
| | | dlg.SetBindingData(project, projectSite, hydroInfo); |
| | | dlg.ShowDialog(); |
| | | |
| | | //var dlg = new CreateXhsSchemeDlg(); |
| | | //WaitFormHelper.ShowWaitForm(this.FindForm(), "正在加载模型,请稍侯..."); |
| | | //var dlg = new AddXhsSchemeDlg(); |
| | | //dlg.Shown += delegate { WaitFormHelper.HideWaitForm(this.FindForm()); }; |
| | | //dlg.ReloadDataEvent += (rhs) => |
| | | //{ |
| | | // this.simulationFunctionMgrCtrl1.AppendScheme(rhs); |
| | | //}; |
| | | //dlg.SetBindingData(project, projectSite, hydroInfo); |
| | | //dlg.ShowDialog(); |
| | | |
| | | var dlg = new CreateXhsSchemeDlg(); |
| | | dlg.Shown += delegate { WaitFormHelper.HideWaitForm(this.FindForm()); }; |
| | | dlg.SetBindingData(project, projectSite, hydroInfo); |
| | | dlg.ShowDialog(); |
| | | } |
| | | |
| | | //项目站方案增加事件 |