From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs
index 3349ea3..0f048dc 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressFormBar.cs
@@ -124,7 +124,7 @@
HdlThreadLogic.Current.RunMain(() =>
{
btnText.Text = msg;
- });
+ }, ShowErrorMode.NO);
}
#endregion
@@ -137,7 +137,7 @@
/// <param name="value">姝ゅ�间负鐧惧垎姣斿��(涔熷氨鏄皬浜庢垨鑰呯瓑浜�1鐨�)</param>
public void SetValue(decimal value)
{
- this.btnProgressBar.SetValue(value);
+ this.btnProgressBar?.SetValue(value);
}
/// <summary>
@@ -147,7 +147,7 @@
/// <param name="maxValue">鏈�澶у��</param>
public void SetValue(decimal value, decimal maxValue)
{
- this.btnProgressBar.SetValue(value, maxValue);
+ this.btnProgressBar?.SetValue(value, maxValue);
}
#endregion
@@ -165,7 +165,7 @@
{
//鍒濆鍖栬繘搴︽潯
this.InitProgressFormBar();
- });
+ }, ShowErrorMode.NO);
}
}
@@ -200,7 +200,7 @@
//鍏抽棴浜嬩欢
this.CloseEvent?.Invoke();
this.CloseEvent = null;
- });
+ }, ShowErrorMode.NO);
}
#endregion
--
Gitblit v1.8.0