From 1a0a7f736c6d2e7129e7591d40bed67ec7c0f09a Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 05 二月 2021 10:47:42 +0800 Subject: [PATCH] 2021-02-05 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