duheng
2024-12-05 7e5fcbee07c65bed3333eb295d0d5117df46b939
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/XhsProjectSimulationMgrPage.cs
@@ -130,6 +130,14 @@
                if (!IsExistPage(guid, true))
                {
                    var page = new XhsProjectSimulationWorkingPage();
                    page.UpdateWorkingEvent += (rhs) =>
                    {
                        this.xhsProjectSimulationFunctionMgrCtrl1.UpdateWorking(rhs);
                    };
                    page.RemoveWorkingEvent += (rhs) =>
                    {
                        this.xhsProjectSimulationFunctionMgrCtrl1.RemoveWorking(rhs);
                    };
                    page.PageTitle.HeaderSvgImage = svgImage;
                    page.SetBindingData(project, projectSite, hydroInfo, working);
                    CreatePage(page, guid);
@@ -460,7 +468,6 @@
                        docPnl.Show();
                    }
                    break;
                case eMoudingType.Tab:
                    {
                        this.tabbedView1.BeginUpdate();
@@ -479,7 +486,6 @@
                        this.tabbedView1.Controller.Activate(doc);
                    }
                    break;
                default: break;
            }
            page.InitialDataSource();