From ecba45c93391066bc30c7bd602c3a7683fbb99a7 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期五, 31 七月 2020 10:56:12 +0800
Subject: [PATCH] 临时备份

---
 ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
index f28273d..4e2b13b 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/HomeMainPageForm.cs
@@ -544,8 +544,8 @@
             bodyFrameLayout.RemoveAll();
             bodyFrameLayout.Height = Application.GetRealHeight(750);
             this.listBodyContr.RecoverTableHeight();
-            this.dicSceneCardControl = new Dictionary<int, Controls.SceneCardControl>();
-            this.dicDeviceCardControl = new Dictionary<string, Controls.DeviceCardCommon>();
+            this.dicSceneCardControl.Clear();
+            this.dicDeviceCardControl.Clear();
 
             var listDevice = new List<CommonDevice>();
             foreach (var mainkeys in HdlRoomLogic.Current.NowMainPageRoom.ListDevice)
@@ -804,8 +804,8 @@
             bodyFrameLayout.RemoveAll();
             bodyFrameLayout.Height = Application.GetRealHeight(750);
             this.listBodyContr.RecoverTableHeight();
-            this.dicSceneCardControl = new Dictionary<int, Controls.SceneCardControl>();
-            this.dicDeviceCardControl = new Dictionary<string, Controls.DeviceCardCommon>();
+            this.dicSceneCardControl.Clear();
+            this.dicDeviceCardControl.Clear();
 
             var listScene = new List<SceneUI>();
             foreach (int sceneId in HdlRoomLogic.Current.NowMainPageRoom.ListSceneId)
@@ -1158,10 +1158,6 @@
                 }, ShowErrorMode.NO);
             });
         }
-
-        #endregion
-
-        #region 鈻� 浼犳劅鍣ㄧ姸鎬佽繕鍘焈____________________
 
         #endregion
 

--
Gitblit v1.8.0