* 更新提示文字
This commit is contained in:
parent
4016c68776
commit
fe4f68f26d
BIN
Bin/SunnyUI.dll
BIN
Bin/SunnyUI.dll
Binary file not shown.
@ -81,7 +81,7 @@ namespace Sunny.UI
|
||||
/// </summary>
|
||||
/// <param name="desc">描述文字</param>
|
||||
/// <param name="maximum">最大进度值</param>
|
||||
public void ShowStatusForm(int maximum = 100, string desc = "系统处理中,请稍候......")
|
||||
public void ShowStatusForm(int maximum = 100, string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
UIStatusFormService.ShowStatusForm(maximum, desc);
|
||||
}
|
||||
@ -115,7 +115,7 @@ namespace Sunny.UI
|
||||
/// 显示等待提示窗
|
||||
/// </summary>
|
||||
/// <param name="desc">描述文字</param>
|
||||
public void ShowWaitForm(string desc = "系统处理中,请稍候......")
|
||||
public void ShowWaitForm(string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
UIWaitFormService.ShowWaitForm(desc);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ namespace Sunny.UI
|
||||
public class UIWaitFormService
|
||||
{
|
||||
private static bool IsRun;
|
||||
public static void ShowWaitForm(string desc = "系统处理中,请稍候......")
|
||||
public static void ShowWaitForm(string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
if (IsRun) return;
|
||||
Instance.CreateForm(desc);
|
||||
@ -82,7 +82,7 @@ namespace Sunny.UI
|
||||
public class UIStatusFormService
|
||||
{
|
||||
private static bool IsRun;
|
||||
public static void ShowStatusForm(int maximum = 100, string desc = "系统处理中,请稍候......")
|
||||
public static void ShowStatusForm(int maximum = 100, string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
if (IsRun) return;
|
||||
Instance.CreateForm(maximum, desc);
|
||||
|
2
SunnyUI/Forms/UIStatusForm.Designer.cs
generated
2
SunnyUI/Forms/UIStatusForm.Designer.cs
generated
@ -41,7 +41,7 @@
|
||||
this.labelDescription.Name = "labelDescription";
|
||||
this.labelDescription.Size = new System.Drawing.Size(178, 21);
|
||||
this.labelDescription.TabIndex = 1;
|
||||
this.labelDescription.Text = "系统处理中,请稍候......";
|
||||
this.labelDescription.Text = "系统正在处理中,请稍候...";
|
||||
this.labelDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// processBar
|
||||
|
2
SunnyUI/Forms/UIWaitForm.designer.cs
generated
2
SunnyUI/Forms/UIWaitForm.designer.cs
generated
@ -41,7 +41,7 @@
|
||||
this.labelDescription.Name = "labelDescription";
|
||||
this.labelDescription.Size = new System.Drawing.Size(178, 21);
|
||||
this.labelDescription.TabIndex = 4;
|
||||
this.labelDescription.Text = "系统处理中,请稍候......";
|
||||
this.labelDescription.Text = "系统正在处理中,请稍候...";
|
||||
this.labelDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// Bar
|
||||
|
@ -189,7 +189,7 @@ namespace Sunny.UI
|
||||
/// </summary>
|
||||
/// <param name="desc">描述文字</param>
|
||||
/// <param name="maximum">最大进度值</param>
|
||||
public void ShowStatusForm(int maximum = 100, string desc = "系统处理中,请稍候......")
|
||||
public void ShowStatusForm(int maximum = 100, string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
UIStatusFormService.ShowStatusForm(maximum, desc);
|
||||
}
|
||||
@ -223,7 +223,7 @@ namespace Sunny.UI
|
||||
/// 显示等待提示窗
|
||||
/// </summary>
|
||||
/// <param name="desc">描述文字</param>
|
||||
public void ShowWaitForm(string desc = "系统处理中,请稍候......")
|
||||
public void ShowWaitForm(string desc = "系统正在处理中,请稍候...")
|
||||
{
|
||||
UIWaitFormService.ShowWaitForm(desc);
|
||||
}
|
||||
|
@ -79,9 +79,9 @@ namespace Sunny.UI
|
||||
public static string GridNoData = "[ 无数据 ]";
|
||||
|
||||
/// <summary>
|
||||
/// 数据加载中 ......
|
||||
/// 数据加载中,请稍候...
|
||||
/// </summary>
|
||||
public static string GridDataLoading = "数据加载中 ......";
|
||||
public static string GridDataLoading = "数据加载中,请稍候...";
|
||||
|
||||
/// <summary>
|
||||
/// 数据源必须为DataTable或者List
|
||||
@ -89,9 +89,9 @@ namespace Sunny.UI
|
||||
public static string GridDataSourceException = "数据源必须为DataTable或者List";
|
||||
|
||||
/// <summary>
|
||||
/// 系统处理中,请稍候......
|
||||
/// "系统正在处理中,请稍候..."
|
||||
/// </summary>
|
||||
public static string SystemProcessing = "系统处理中,请稍候......";
|
||||
public static string SystemProcessing = "系统正在处理中,请稍候...";
|
||||
}
|
||||
|
||||
public static class UILocalizeHelper
|
||||
@ -109,9 +109,9 @@ namespace Sunny.UI
|
||||
UILocalize.OK = "OK";
|
||||
UILocalize.Cancel = "Cancel";
|
||||
UILocalize.GridNoData = "[ No data ]";
|
||||
UILocalize.GridDataLoading = "Data loading ......";
|
||||
UILocalize.GridDataLoading = "Data loading, please wait...";
|
||||
UILocalize.GridDataSourceException = "The data source must be DataTable or List";
|
||||
UILocalize.SystemProcessing = "System processing, please wait...";
|
||||
UILocalize.SystemProcessing = "The system is processing, please wait...";
|
||||
}
|
||||
|
||||
public static void SetCH()
|
||||
@ -127,9 +127,9 @@ namespace Sunny.UI
|
||||
UILocalize.OK = "确定";
|
||||
UILocalize.Cancel = "取消";
|
||||
UILocalize.GridNoData = "[ 无数据 ]";
|
||||
UILocalize.GridDataLoading = "数据加载中 ......";
|
||||
UILocalize.GridDataLoading = "数据加载中,请稍候...";
|
||||
UILocalize.GridDataSourceException = "数据源必须为DataTable或者List";
|
||||
UILocalize.SystemProcessing = "系统处理中,请稍候......";
|
||||
UILocalize.SystemProcessing = "系统正在处理中,请稍候...";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user