From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 06 七月 2021 09:39:03 +0800 Subject: [PATCH] 2021-07-06 1.更新 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs index 047b701..ee08deb 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs @@ -49,6 +49,17 @@ timeHorizonView.btnText.TextID = StringId.timeHorizon; viewLayout.AddChidren(timeHorizonView.FLayoutView()); + + //鏃ュ嚭/鏃ヨ惤/姝e崍 + LogicView.SelectTypeView timeSpecialView = new LogicView.SelectTypeView(); + timeSpecialView.frameLayout.Y = timeHorizonView.frameLayout.Bottom; + timeSpecialView.btnIcon.Visible = false; + timeSpecialView.btnText.X = Application.GetRealWidth(16); + timeSpecialView.btnLine.X = Application.GetRealWidth(16); + timeSpecialView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16); + timeSpecialView.btnText.TextID = StringId.timespecia; + viewLayout.AddChidren(timeSpecialView.FLayoutView()); + #endregion #region 鏃堕棿鐐� 鏃堕棿鑼冨洿鐐瑰嚮浜嬩欢 @@ -78,7 +89,15 @@ TimeHorizon(fLayout, false, 0); }; + //鏃ュ嚭/鏃ヨ惤/姝e崍鐐瑰嚮浜嬩欢 + timeSpecialView.btnClick.MouseUpEventHandler += (sen, e) => + { + SpeciaTime speciaTime = new SpeciaTime(); + MainPage.BasePageView.AddChidren(speciaTime); + speciaTime.Show(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; #endregion } -- Gitblit v1.8.0