lixiaojun
2024-11-08 bcc7f0563d92efd7013ec36e1d9ad7871b631454
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs
@@ -115,12 +115,16 @@
            {
                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();
        }