From f23ad1b3f9f6193f35f72104d690b21dc67d5c1f Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 06 七月 2020 12:35:25 +0800
Subject: [PATCH] 去掉了访问外网的异步
---
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs | 8 ++++++--
1 files changed, 6 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 5cd4dcd..91b3ada 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/ProgressRowBar.cs
@@ -12,6 +12,10 @@
#region 鈻� 鍙橀噺澹版槑___________________________
/// <summary>
+ /// 杩涘浘鏉¤兘鍚﹀線鍥炶蛋(榛樿鍙互)
+ /// </summary>
+ public bool ProgressBarGoback = true;
+ /// <summary>
/// 浼氱Щ鍔ㄧ殑杩涘害鏉�
/// </summary>
private FrameLayout btnProgressBar = null;
@@ -146,7 +150,7 @@
HdlThreadLogic.Current.RunMain(() =>
{
int width = (int)(value * this.Width);
- if (btnProgressBar.Width >= width)
+ if (this.ProgressBarGoback == false && btnProgressBar.Width >= width)
{
//涓嶈兘璁╄繘搴︽潯寰�鍥炶蛋
return;
@@ -157,7 +161,7 @@
//鏂囨湰鏄剧ず
btnProgressTextView.Text = ((int)(value * 100)) + "%";
//鏂囨湰鏄剧ず鐨勯偅涓浘鐗囨绉诲姩
- this.frameProgressBack.X = ControlCommonResourse.XXLeft + btnProgressBar.Right - frameProgressBack.Width / 2;
+ this.frameProgressBack.X = this.X + btnProgressBar.Right - frameProgressBack.Width / 2;
}
});
}
--
Gitblit v1.8.0