feat: 新增主界面模块功能
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user