From 7167334c0e89dd84827d59e726123d14776e3a09 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 16 六月 2020 11:14:13 +0800
Subject: [PATCH] 2020-06-16-1

---
 HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs
index fa7714c..dd666ed 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs
@@ -58,7 +58,7 @@
         {
             btnSwitchIcon.MouseUpEventHandler += (sender, e) =>
             {
-                btnSwitchIcon.IsSelected = btnSwitch.IsSelected = !btnSwitchIcon.IsSelected;
+                btnSwitchIcon.IsSelected = !btnSwitchIcon.IsSelected;
 
                 new System.Threading.Thread(() =>
                 {
@@ -70,7 +70,7 @@
             };
             btnSwitch.MouseUpEventHandler += (sender, e) =>
             {
-                btnSwitch.IsSelected = btnSwitchIcon.IsSelected = !btnSwitch.IsSelected;
+                btnSwitch.IsSelected = !btnSwitch.IsSelected;
 
                 new System.Threading.Thread(() =>
                 {

--
Gitblit v1.8.0