| | |
| | | Modular = this.PageGuid.Modular, |
| | | MoudingType = eMoudingType.Tab, |
| | | Function = SimulationFunctionHelper.Simulation, |
| | | TagName = projectSite.ID.ToString() |
| | | TagName = $"{project.ID}-{projectSite.ID}-{scheme?.ID}" |
| | | }; |
| | | var page = FindPage(guid); |
| | | if (page == null) |
| | |
| | | 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(); |
| | | |
| | | WaitFormHelper.ShowWaitForm(this.FindForm(), "正在加载模型,请稍侯..."); |
| | | var dlg = new AddXhsSchemeDlg(); |
| | | var dlg = new CreateXhsSchemeDlg(); |
| | | dlg.Shown += delegate { WaitFormHelper.HideWaitForm(this.FindForm()); }; |
| | | dlg.SetBindingData(project, projectSite, hydroInfo); |
| | | 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(); |
| | | } |
| | | |
| | | //项目站方案增加事件 |