From b71dfb3ca100340005d56e1298292807da82322d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 08 六月 2020 15:04:21 +0800 Subject: [PATCH] 20200608 --- HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs index e3fef44..28e4136 100644 --- a/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs +++ b/HDL_ON/UI/UI2/1-HomePage/HomePageBLL.cs @@ -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