From ec34983e291d1c85284472a27109d55891f9a6b5 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 07 八月 2020 16:20:16 +0800
Subject: [PATCH] 不是新代码,别 合并

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs
index 979d63f..3622c12 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/LoadingControl.cs
@@ -14,8 +14,8 @@
         /// </summary>
         public LoadingControl()
         {
-            this.Width = Application.GetMinRealAverage(74);
-            this.Height = Application.GetMinRealAverage(76);
+            this.Width = HdlControlLogic.Current.GetPictrueRealSize(74);
+            this.Height = HdlControlLogic.Current.GetPictrueRealSize(76);
         }
 
         /// <summary>
@@ -29,10 +29,10 @@
                 while (this.Parent != null)
                 {
                     System.Threading.Thread.Sleep(50);
-                    Application.RunOnMainThread(() =>
+                    HdlThreadLogic.Current.RunMain(() =>
                     {
                         this.UnSelectedImagePath = "Loading/" + index + ".png";
-                    });
+                    }, ShowErrorMode.NO);
                     index++;
                     if (index > 32)
                     {

--
Gitblit v1.8.0