From 25ce81434a6ce69cf10f12d4f5a25ab80a339ba7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 03 三月 2021 17:50:53 +0800 Subject: [PATCH] 2021-3-3-3 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs index b6bdd3b..ec6420f 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs @@ -196,7 +196,13 @@ var library = libraryList[index]; var control = GetControl(spk, testBtn.TextID, library); Method method = new Method(); - method.ThreadAddControl(control, this, true); + method.ThreadAddControl(control, this,(control1) => { + MainPage.BasePageView.RemoveViewByTag("PirView"); + AddControlComplete addControlComplete = new AddControlComplete(); + MainPage.BasePageView.AddChidren(addControlComplete); + addControlComplete.Show(control1,true); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }); } }; @@ -340,7 +346,7 @@ int textValue = 0; switch (spk) { - case SPK.AcStandard: + case SPK.AcIr: { switch (code) { -- Gitblit v1.8.0