From 77e7b5223dd04a6e036dc952efb38f2b770a6828 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 09 六月 2020 13:50:43 +0800 Subject: [PATCH] 2020--6-9 --- HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs index 0431e70..28e4136 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs @@ -94,7 +94,7 @@ } /// <summary> - /// 鏇存柊鐏厜鏄剧ず鐘舵�� + /// 鏇存柊鏄剧ず鐘舵�� /// </summary> public static void UpdataFunctionStates(Function function) { @@ -170,6 +170,18 @@ } /// <summary> + /// 鍔犺浇鐢佃鎺у埗浜嬩欢 + /// </summary> + /// <param name="tV"></param> + /// <param name="button"></param> + void LoadEvent_ControlTV(TV tV,Button button) + { + button.MouseUpEventHandler = (sender, e) => { + tV.ControlTV(InfraredCode_TV.Power); + }; + } + + /// <summary> /// 鍔犺浇绐楀笜鎺у埗浜嬩欢 /// </summary> void LoadEvent_ControlCurtain(Curtain curtain, Button btnClose, Button btnOpen) -- Gitblit v1.8.0