SVN-Revision: r873
This commit is contained in:
wyf
2025-07-17 10:21:16 +00:00
parent bd7bf8f2b9
commit d1e6952657
@@ -697,6 +697,7 @@ namespace Lskj.Main.Control
menu.Name = groupMenuId;
menu.Size = new Size(menuWidth, menuHeight);
menu.SetMenuCaption(dataRow["dllShowCaption"] + "");
menu.SetSubCaption(dataRow["SubSysName"] + "-" + dataRow["menucaption"]);
menu.SetRoundRadius = 20;
menu.Tag = menuTag;
menu.Click += OnMenuItemClick;
@@ -731,6 +732,7 @@ namespace Lskj.Main.Control
menu.Name = groupMenuId;
menu.Size = new Size(menuWidth, menuHeight);
menu.SetMenuCaption(dataRow["dllShowCaption"] + "");
menu.SetSubCaption(dataRow["SubSysName"] + "-" + dataRow["menucaption"]);
menu.SetRoundRadius = 20;
menu.Tag = menuTag;
menu.Click += OnMenuItemClick;
@@ -749,12 +751,14 @@ namespace Lskj.Main.Control
collectMenuPanel.Controls.Add(reportGroupControl);
reportGroupControl.TipsText = $"快捷报表通道({reportTable.Count()}";
}
reportGroupControl.Height = reportFlowPanel.Controls[reportFlowPanel.Controls.Count - 1].Location.Y + menuHeight + 28;
baseGroupControl.Height = baseFlowPanel.Controls[baseFlowPanel.Controls.Count - 1].Location.Y + menuHeight + 28;
collectPanel.Height = baseGroupControl.Height + reportGroupControl.Height + 26;
collectPanel.SizeChanged += (s, e) =>
{
reportGroupControl.Height = reportFlowPanel.Controls[reportFlowPanel.Controls.Count - 1].Location.Y + menuHeight + 28;
baseGroupControl.Height = baseFlowPanel.Controls[baseFlowPanel.Controls.Count - 1].Location.Y + menuHeight + 28;
collectPanel.Height = baseGroupControl.Height + reportGroupControl.Height + 26;
collectPanel.Refresh();
};
if (reportTable.Count() == 0 && baseTable.Count() == 0)
{