From 5b268c9e665c7cd839fe1409efef09694660370b Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 09 三月 2021 10:19:15 +0800 Subject: [PATCH] 1 --- HDL_ON/UI/UI2/FuntionControlView/AC/AcControlPage.cs | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/AcControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/AcControlPage.cs index 629a706..d202d33 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/AC/AcControlPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/AC/AcControlPage.cs @@ -206,6 +206,8 @@ LoadEvent_TempChange(); LoadEvent_AcStatesChange(); + + LoadDiv_IrView(); } /// <summary> @@ -445,6 +447,48 @@ dialog.Show(); } + /// <summary> + /// 鍔犺浇绾㈠閬ユ帶鍣紝棰濆鎸夐挳 + /// </summary> + void LoadDiv_IrView() + { + if (device.spk == SPK.AcIr) + { + var btnMore = new Button() + { + Gravity = Gravity.CenterHorizontal, + Y = Application.GetRealHeight(334), + Width = Application.GetRealWidth(30), + Height = Application.GetRealWidth(30), + UnSelectedImagePath = "FunctionIcon/AC/More.png", + }; + FrameWhiteCentet1.AddChidren(btnMore); + + btnMore.MouseUpEventHandler = (sender, e) => { + LoadDialog_IrMoreView(); + }; + } + } + /// <summary> + /// 鍔犺浇棰濆瀵圭孩澶栨寜閽晫闈� + /// </summary> + void LoadDialog_IrMoreView() + { + Dialog dialog = new Dialog(); + + var div = new FrameLayout(); + dialog.AddChidren(div); + div.MouseUpEventHandler = (sender, e) => { + dialog.Close(); + }; + + + + + dialog.Show(); + } + + #endregion #region 鈻� 璁惧鐘舵�佸弽棣坃______________________ -- Gitblit v1.8.0