From 7f233a10afa6882b4d9531185af60e8843bc1af2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 11 五月 2020 09:21:36 +0800
Subject: [PATCH] 20200511

---
 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