From 0f5a53c7b36c27a0f2bec12e6119207edb6860f8 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 29 十月 2019 14:29:21 +0800 Subject: [PATCH] 修改主页卡死问题 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs index efd7962..43fc1c3 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs @@ -100,9 +100,7 @@ listView.AddChidren(row4); row4.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uInformationPush), 500); //寮�鍏冲浘鏍� - var btnSwicth = row4.AddMostRightEmptyIcon(104, 63); - btnSwicth.UnSelectedImagePath = "Item/Switch.png"; - btnSwicth.SelectedImagePath = "Item/SwitchSelected.png"; + var btnSwicth = row4.AddMostRightSwitchIcon(); btnSwicth.IsSelected = HdlSafeguardLogic.Current.GetGarrisonInformationPushStatu(this.zoonID) == 0; btnSwicth.ButtonClickEvent += (sender, e) => { -- Gitblit v1.8.0