From 2bc230cf2e7a7329c2329b07307a47b059835bbc Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 18 十月 2019 10:20:52 +0800 Subject: [PATCH] 2019-10-18-1 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs index 618c44c..43fc1c3 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SectorsSettionMenuForm.cs @@ -59,7 +59,7 @@ var row1 = new FrameRowControl(listView.rowSpace / 2); listView.AddChidren(row1); row1.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSensorSettion), 500); - row1.AddRightIconControl(); + row1.AddRightArrow(); row1.AddBottomLine(); row1.ButtonClickEvent += (sender, e) => { @@ -71,7 +71,7 @@ var row2 = new FrameRowControl(listView.rowSpace / 2); listView.AddChidren(row2); row2.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uAlarmTargetSettion), 500); - row2.AddRightIconControl(); + row2.AddRightArrow(); row2.AddBottomLine(); row2.ButtonClickEvent += (sender, e) => { @@ -86,7 +86,7 @@ var row3 = new FrameRowControl(listView.rowSpace / 2); listView.AddChidren(row3); row3.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uDelayedSettion), 500); - row3.AddRightIconControl(); + row3.AddRightArrow(); row3.AddBottomLine(); row3.ButtonClickEvent += (sender, e) => { @@ -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