From b6a00e2fddcf2343b981c30be670aa00b87699dc Mon Sep 17 00:00:00 2001 From: ningshuxia <ningshuxia0927@outlook.com> Date: 星期五, 28 三月 2025 14:07:50 +0800 Subject: [PATCH] 模拟计算 --- Desktop/PBS.Desktop/MainForm.cs | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Desktop/PBS.Desktop/MainForm.cs b/Desktop/PBS.Desktop/MainForm.cs index 5bca20a..1a5f0b5 100644 --- a/Desktop/PBS.Desktop/MainForm.cs +++ b/Desktop/PBS.Desktop/MainForm.cs @@ -10,7 +10,6 @@ using HStation.WinFrmUI.Assets; using HStation.WinFrmUI.Basic; using HStation.WinFrmUI.Dict; -using IBox.WinFrmUI; using PBS.WinFrmUI; using PBS.WinFrmUI.Box; using PBS.WinFrmUI.DataAnalysis; @@ -622,10 +621,6 @@ ctrl_ele.OwnerElement.Expanded = true; this.accordionControlFunction.Refresh(); } - //if (!IsExistPage(pguid, true)) - //{ - // ele.Click.Invoke(); - //} return true; } else @@ -1519,6 +1514,23 @@ CreatePage(page, guid); } }); + //var simulationDrill = Get("模拟调度", new PageGuid() + //{ + // Modular = "WaterSupplyAnalysis", + // MoudingType = eMoudingType.Tab, + // Function = "SimulationSchedule", + //}, svgImgItem32[4], new Size(18, 18), (caption, guid, svg, size) => + //{ + // if (!IsExistPage(guid, true)) + // { + // var page = new SimulationSchedulePage(); + // page.PageGuid = guid; + // page.PageTitle.Caption = caption; + // page.PageTitle.HeaderSvgImage = svg; + // page.PageTitle.SvgImageSize = size; + // CreatePage(page, guid); + // } + //}); var forecastWater = Get("水量预测", new PageGuid() { Modular = "WaterSupplyAnalysis", -- Gitblit v1.9.3