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