lixiaojun
2024-11-20 74dba39c95f8120bb31a64739c872cb43790935c
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();
        }
        //比较项目方案事件