From 1f65fe366062b3f2cda6b03e1849afce6d2646f8 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 17 十月 2019 13:47:37 +0800 Subject: [PATCH] 2019.10.17 --- ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs index 2285ed2..b3e6f0f 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs @@ -109,10 +109,7 @@ //鑺傝兘妯″紡 frameBack.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uEnergyConservationMode), 400); //寮�鍏虫帶浠� - var btnSwitch = frameBack.AddMostRightEmptyIcon(104, 63); - frameBack.ChangedChidrenBindMode(btnSwitch, ChidrenBindMode.NotBind); - btnSwitch.UnSelectedImagePath = "Item/Switch.png"; - btnSwitch.SelectedImagePath = "Item/SwitchSelected.png"; + var btnSwitch = frameBack.AddMostRightSwitchIcon(); btnSwitch.ButtonClickEvent += (sender, e) => { btnSwitch.IsSelected = !btnSwitch.IsSelected; -- Gitblit v1.8.0