提交当前本机最新程序
This commit is contained in:
@@ -26,6 +26,10 @@ namespace Lskj.Control
|
||||
/// </summary>
|
||||
public sealed class MessageUtil
|
||||
{
|
||||
|
||||
public static string Prompt = string.IsNullOrWhiteSpace(SystemInfo.Instance.DeadlockPrompt) ? "网络连接超时,请稍候再试!" : SystemInfo.Instance.DeadlockPrompt;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:弹出Ok对话框</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
@@ -51,7 +55,7 @@ namespace Lskj.Control
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(msg) && msg.Contains("与另一个进程被死锁在")&& !SystemInfo.Instance.PromptDeadlock)
|
||||
msg = "网络连接超时,请稍候再试!";
|
||||
msg = Prompt;
|
||||
if (Business.Impl.LanguageTranslation.Translatable)
|
||||
{
|
||||
msg = Business.Impl.LanguageTranslation.GetTranslatedText(msg);
|
||||
@@ -87,7 +91,7 @@ namespace Lskj.Control
|
||||
|
||||
if (!string.IsNullOrEmpty(errorMessage) && errorMessage.Contains("与另一个进程被死锁在") && !SystemInfo.Instance.PromptDeadlock)
|
||||
{
|
||||
errorMessage = "网络连接超时,请稍候再试!";
|
||||
errorMessage = Prompt;
|
||||
if (Business.Impl.LanguageTranslation.Translatable)
|
||||
{
|
||||
errorMessage = Business.Impl.LanguageTranslation.GetTranslatedText(errorMessage);
|
||||
@@ -162,7 +166,7 @@ namespace Lskj.Control
|
||||
{
|
||||
string msg = ex == null ? ResourceKeys.UnKownErrorTip : ex.StackTrace;
|
||||
if (!string.IsNullOrEmpty(msg) && msg.Contains("与另一个进程被死锁在") && !SystemInfo.Instance.PromptDeadlock)
|
||||
msg = "网络连接超时,请稍候再试!";
|
||||
msg = Prompt;
|
||||
if (Business.Impl.LanguageTranslation.Translatable)
|
||||
{
|
||||
msg = Business.Impl.LanguageTranslation.GetTranslatedText(msg);
|
||||
@@ -173,7 +177,7 @@ namespace Lskj.Control
|
||||
{
|
||||
string msg = ex == null ? ResourceKeys.UnKownErrorTip : ex.Message; //ResourceKeys.SystemErrorTip + "\r\n" + ex.Message + "\r\n" + ex.StackTrace;
|
||||
if (!string.IsNullOrEmpty(msg) && msg.Contains("与另一个进程被死锁在") && !SystemInfo.Instance.PromptDeadlock)
|
||||
msg = "网络连接超时,请稍候再试!";
|
||||
msg = Prompt;
|
||||
if (Business.Impl.LanguageTranslation.Translatable)
|
||||
{
|
||||
msg = Business.Impl.LanguageTranslation.GetTranslatedText(msg);
|
||||
|
||||
Reference in New Issue
Block a user