From 1d1cad99a27c9f644c84eb3d376c70bd30a55879 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 10 三月 2021 18:02:13 +0800 Subject: [PATCH] 2021-3-10-1 --- HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs index 30cb186..bc6f542 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs @@ -1,4 +1,6 @@ 锘縰sing System; +using System.Collections.Generic; +using HDL_ON.Entity; using HDL_ON.UI.CSS; using Shared; namespace HDL_ON.UI @@ -8,6 +10,7 @@ FrameLayout bodyView; FrameLayout contentView; + Button btnAdd; public ThirdPartyBrandListPage() { @@ -39,7 +42,7 @@ }; bodyView.AddChidren(btnTipMsg); - Button btnAdd = new Button() + btnAdd = new Button() { Gravity = Gravity.CenterHorizontal, Y = Application.GetRealHeight(564), @@ -52,6 +55,8 @@ TextID = StringId.Add, }; bodyView.AddChidren(btnAdd); + + LoadEvent_SikpAddBrand(); } /// <summary> @@ -72,5 +77,17 @@ }; emptyTipView.AddChidren(tipView); } + /// <summary> + /// 璺宠浆缁戝畾绗笁鏂瑰搧鐗岀晫闈� + /// </summary> + void LoadEvent_SikpAddBrand() + { + btnAdd.MouseUpEventHandler = (sender, e) => { + var page = new AddThirdPartyBrandListpage(); + MainPage.BasePageView.AddChidren(page); + page.LoadPage(); + MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; + }; + } } } -- Gitblit v1.8.0