From 5428935270159bfc42c2934ed7fb1091554fc9a4 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 09 七月 2020 17:12:42 +0800
Subject: [PATCH] 修改了 sokect

---
 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