From f26d7b01a57fdb53dbe58ad355e3c45e3ec06d60 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 26 二月 2021 16:14:02 +0800 Subject: [PATCH] 2021-2-26-1 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs | 21 +++------------------ 1 files changed, 3 insertions(+), 18 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs index a766af0..9da222a 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/PirMain.cs @@ -270,24 +270,9 @@ break; case 7: { - View.TipView tipView = new View.TipView(); - tipView.InputBox("", (s) => - { - if (!string.IsNullOrEmpty(s)) - { - - AddButton addButton = new AddButton(); - MainPage.BasePageView.AddChidren(addButton); - addButton.Show(); - MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - - - //Test test = new Test(); - //MainPage.BasePageView.AddChidren(test); - //test.Show(); - //MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; - } - }); + Method method = new Method(); + method.AddControl(); + } break; -- Gitblit v1.8.0