From 965290476c027deb96891cde1095d9a100581a6b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 20 二月 2020 09:13:32 +0800 Subject: [PATCH] 2020-02-20 1.优化更新。 --- Crabtree/SmartHome/HDL/Operation/BusSocket.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Crabtree/SmartHome/HDL/Operation/BusSocket.cs b/Crabtree/SmartHome/HDL/Operation/BusSocket.cs index 9d1a284..b299965 100644 --- a/Crabtree/SmartHome/HDL/Operation/BusSocket.cs +++ b/Crabtree/SmartHome/HDL/Operation/BusSocket.cs @@ -51,6 +51,7 @@ asyncBeginReceive (); Console.WriteLine ("BusSocket鍚姩鎴愬姛锛�"); + Control.IsEnterBackground = false; } /// <summary> @@ -70,7 +71,8 @@ busSocket = null; Console.WriteLine("BusSocket鍏抽棴鎴愬姛!"); - } + Control.IsEnterBackground = true; + } /// <summary> /// 褰撳墠鐨凷ocket鏄惁杩愯 -- Gitblit v1.8.0