feat: 新增主界面模块功能

This commit is contained in:
cyf
2026-08-28 23:32:47 +08:00
parent b33c847b27
commit 98a119ed25
10 changed files with 942 additions and 30 deletions
+20 -2
View File
@@ -151,7 +151,11 @@ namespace Lskj.PubModule
{
this.mControl.CloseModule();
string guid = this.Tag + "";
if (string.IsNullOrWhiteSpace(guid)) return;
if (string.IsNullOrWhiteSpace(guid))
{
this.CloseExecution();
return;
}
DllModule m = Manager.ModuleForms[guid];
m.IsClose = true;
if (SystemInfo.Instance.EfficientVerification)
@@ -175,6 +179,15 @@ namespace Lskj.PubModule
}
if (!e.Cancel)
{
this.CloseExecution();
}
}
private void CloseExecution()
{
try
{
if (!string.IsNullOrEmpty(this.mControl.SysModel.FrmCloseStored))
{
@@ -185,9 +198,14 @@ namespace Lskj.PubModule
if (!string.IsNullOrEmpty(result)) MessageUtil.Show(result);
}
}
catch (Exception ex)
{
}
}
#region
/// <summary>
/// <para>说明:设置弹出窗体大小</para>