SVN r1047
SVN-Revision: r1047
This commit is contained in:
@@ -12,6 +12,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using DevExpress.XtraSplashScreen;
|
||||
using Lskj.Business.Impl;
|
||||
using Lskj.Data;
|
||||
|
||||
namespace Lskj.Control.Model
|
||||
@@ -49,33 +50,4 @@ namespace Lskj.Control.Model
|
||||
public static void ShowForm(string msg = null)
|
||||
{
|
||||
_dataMsg = msg ?? ResourceKeys.DataLoading;
|
||||
bool flag = !LoadForm.IsSplashFormVisible;
|
||||
if (flag)
|
||||
{
|
||||
_loadForm.ShowWaitForm();
|
||||
_loadForm.SetWaitFormCaption(_dataMsg);
|
||||
}
|
||||
else
|
||||
{
|
||||
_loadForm.SetWaitFormCaption(_dataMsg);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// <para>说明:关闭等待窗体</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2017-08-11 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
public static void HideForm()
|
||||
{
|
||||
bool isSplashFormVisible = LoadForm.IsSplashFormVisible;
|
||||
if (isSplashFormVisible)
|
||||
{
|
||||
_loadForm.CloseWaitForm();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (LanguageTrans
|
||||
Reference in New Issue
Block a user