From dc6493db59dcb0893eac50b72122f94c24056b3f Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 12 十月 2020 14:35:39 +0800
Subject: [PATCH] 新版本
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs
index 91b3ada..d3be37f 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs
@@ -12,7 +12,7 @@
#region 鈻� 鍙橀噺澹版槑___________________________
/// <summary>
- /// 杩涘浘鏉¤兘鍚﹀線鍥炶蛋(榛樿鍙互)
+ /// 杩涘害鏉¤兘鍚﹀線鍥炶蛋(榛樿鍙互)
/// </summary>
public bool ProgressBarGoback = true;
/// <summary>
@@ -35,6 +35,22 @@
/// 妯″紡鍖哄垎
/// </summary>
private int m_ModeDiv = -1;
+
+ /// <summary>
+ /// 杩涘害鏉℃槸鍚﹀彲瑙�
+ /// </summary>
+ public new bool Visible
+ {
+ get { return base.Visible; }
+ set
+ {
+ if (this.frameProgressBack != null)
+ {
+ this.frameProgressBack.Visible = value;
+ }
+ base.Visible = value;
+ }
+ }
#endregion
@@ -143,10 +159,12 @@
/// <param name="value"></param>
private void SetValueEx(decimal value)
{
- if (btnProgressBar == null || this.m_ModeDiv != 1 || value > 1)
+ if (btnProgressBar == null || this.m_ModeDiv != 1)
{
return;
}
+ if (value > 1) { value = 1; }
+
HdlThreadLogic.Current.RunMain(() =>
{
int width = (int)(value * this.Width);
--
Gitblit v1.8.0