From db68ee28e538f1de22db27216f194d131240f901 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 23 十一月 2020 17:46:30 +0800 Subject: [PATCH] 2020-11-23-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs index 164ce6e..b36da6b 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs @@ -37,7 +37,7 @@ //鍔熻兘 LogicView.SelectTypeView functionView = new LogicView.SelectTypeView(); functionView.frameLayout.Y = timeView.frameLayout.Bottom; - functionView.btnText.TextID = StringId.time; + functionView.btnText.TextID = StringId.funLogic; functionView.btnIcon.UnSelectedImagePath = "LogicIcon/functionicon.png"; viewLayout.AddChidren(functionView.FLayoutView()); @@ -52,6 +52,14 @@ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; + + functionView.btnClick.MouseUpEventHandler += (sen, e) => { + FunTpye funTpye = new FunTpye(); + MainPage.BasePageView.AddChidren(funTpye); + funTpye.Show(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + + }; #endregion } -- Gitblit v1.8.0