Shuxia Ning
2024-11-13 208ca42e1c20afafbe48d66259d553ee81eb48ed
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs
@@ -115,13 +115,17 @@
            {
                return;
            }
            var dlg = new AddXhsProjectSimulationSchemeDlg();
            await dlg.SetBindingData(_projectSite.ID);
            dlg.ReloadDataEvent += (scheme) =>
            {
                this.xhsProjectSimulationFunctionMgrCtrl1.AppendScheme(scheme);
            };
            dlg.ShowDialog();
            //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();
        }
        //比较项目方案事件