Commit 438a6b57 HZH

修改加载窗体

1 个父辈 6b1f7ffe
...@@ -35,7 +35,7 @@ namespace HZH_Controls.Forms ...@@ -35,7 +35,7 @@ namespace HZH_Controls.Forms
/// <summary> /// <summary>
/// The update database worker /// The update database worker
/// </summary> /// </summary>
public BackgroundWorker updateDBWorker = new BackgroundWorker(); BackgroundWorker updateDBWorker = new BackgroundWorker();
/// <summary> /// <summary>
/// 获取或设置加载任务 /// 获取或设置加载任务
/// </summary> /// </summary>
...@@ -72,7 +72,7 @@ namespace HZH_Controls.Forms ...@@ -72,7 +72,7 @@ namespace HZH_Controls.Forms
/// </summary> /// </summary>
/// <param name="strText">进度任务名称</param> /// <param name="strText">进度任务名称</param>
/// <param name="intValue">进度值</param> /// <param name="intValue">进度值</param>
protected virtual void SetProcessMsg(string strText, int intValue) protected virtual void BindingProcessMsg(string strText, int intValue)
{ {
} }
...@@ -90,7 +90,7 @@ namespace HZH_Controls.Forms ...@@ -90,7 +90,7 @@ namespace HZH_Controls.Forms
} }
else else
{ {
SetProcessMsg(strText, intValue); BindingProcessMsg(strText, intValue);
} }
} }
......
...@@ -16,7 +16,7 @@ namespace Test ...@@ -16,7 +16,7 @@ namespace Test
{ {
InitializeComponent(); InitializeComponent();
} }
protected override void SetProcessMsg(string strText, int intValue) protected override void BindingProcessMsg(string strText, int intValue)
{ {
label1.Text = strText; label1.Text = strText;
this.ucProcessLineExt1.Value = intValue; this.ucProcessLineExt1.Value = intValue;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!