From a45fe56aeeac8f28a9891b83362954067c8166dc Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期五, 14 八月 2020 09:07:05 +0800 Subject: [PATCH] 请合并新代码,更改多功能面板绑定表重复问题 --- ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs index 1e95885..c674940 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/SceneCardControl.cs @@ -285,13 +285,13 @@ while (remainTine > 0 && this.Parent != null) { System.Threading.Thread.Sleep(1000); - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { this.btnTimeView.Text = this.GetTimeString(remainTine, hourText, minuText, secondText); - }); + }, ShowErrorMode.NO); remainTine--; } - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { //鍊掕鏃剁粨鏉熸椂锛屾椂闂村浘鏍囨樉绀� this.btnTimeIcon.Visible = true; @@ -299,7 +299,7 @@ //鐩存帴寮�鍚疞oading鐗规晥 this.StartLoadingApreal(); this.CanClick = true; - }); + }, ShowErrorMode.NO); }) { IsBackground = true }.Start(); } -- Gitblit v1.8.0