From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs | 166 +++++++++++++++++++++++++++---------------------------
1 files changed, 83 insertions(+), 83 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs
index bc6f542..b292e9d 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/ThirdPartyBrandListPage.cs
@@ -1,93 +1,93 @@
-锘縰sing System;
-using System.Collections.Generic;
-using HDL_ON.Entity;
-using HDL_ON.UI.CSS;
-using Shared;
-namespace HDL_ON.UI
-{
- public class ThirdPartyBrandListPage : FrameLayout
- {
+锘�//using System;
+//using System.Collections.Generic;
+//using HDL_ON.Entity;
+//using HDL_ON.UI.CSS;
+//using Shared;
+//namespace HDL_ON.UI
+//{
+// public class ThirdPartyBrandListPage : FrameLayout
+// {
- FrameLayout bodyView;
- FrameLayout contentView;
- Button btnAdd;
+// FrameLayout bodyView;
+// FrameLayout contentView;
+// Button btnAdd;
- public ThirdPartyBrandListPage()
- {
- bodyView = this;
- }
+// public ThirdPartyBrandListPage()
+// {
+// bodyView = this;
+// }
- public void LoadPage()
- {
- new TopViewDiv(bodyView, Language.StringByID(StringId.FunctionBrand)).LoadTopView();
+// public void LoadPage()
+// {
+// new TopViewDiv(bodyView, Language.StringByID(StringId.FunctionBrand)).LoadTopView();
- contentView = new FrameLayout()
- {
- Y = Application.GetRealHeight(64),
- Height = Application.GetRealHeight(667-64),
- BackgroundColor = CSS_Color.MainBackgroundColor,
- };
- bodyView.AddChidren(contentView);
+// contentView = new FrameLayout()
+// {
+// Y = Application.GetRealHeight(64),
+// Height = Application.GetRealHeight(667-64),
+// BackgroundColor = CSS_Color.MainBackgroundColor,
+// };
+// bodyView.AddChidren(contentView);
- AddEmptyTipView();
+// AddEmptyTipView();
- Button btnTipMsg = new Button()
- {
- Height = Application.GetRealHeight(17 + 24),
- Y = Application.GetRealHeight(535 - 12),
- TextColor = CSS_Color.TextualColor,
- TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
- TextAlignment = TextAlignment.Center,
- TextID = StringId.TipAddThirdPartyDeviceMsg,
- };
- bodyView.AddChidren(btnTipMsg);
+// Button btnTipMsg = new Button()
+// {
+// Height = Application.GetRealHeight(17 + 24),
+// Y = Application.GetRealHeight(535 - 12),
+// TextColor = CSS_Color.TextualColor,
+// TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
+// TextAlignment = TextAlignment.Center,
+// TextID = StringId.TipAddThirdPartyDeviceMsg,
+// };
+// bodyView.AddChidren(btnTipMsg);
- btnAdd = new Button()
- {
- Gravity = Gravity.CenterHorizontal,
- Y = Application.GetRealHeight(564),
- Width = Application.GetRealWidth(220),
- Height = Application.GetRealWidth(44),
- Radius = (uint)Application.GetRealWidth(22),
- BackgroundColor = CSS_Color.MainColor,
- TextAlignment = TextAlignment.Center,
- TextColor = CSS_Color.MainBackgroundColor,
- TextID = StringId.Add,
- };
- bodyView.AddChidren(btnAdd);
+// btnAdd = new Button()
+// {
+// Gravity = Gravity.CenterHorizontal,
+// Y = Application.GetRealHeight(564),
+// Width = Application.GetRealWidth(220),
+// Height = Application.GetRealWidth(44),
+// Radius = (uint)Application.GetRealWidth(22),
+// BackgroundColor = CSS_Color.MainColor,
+// TextAlignment = TextAlignment.Center,
+// TextColor = CSS_Color.MainBackgroundColor,
+// TextID = StringId.Add,
+// };
+// bodyView.AddChidren(btnAdd);
- LoadEvent_SikpAddBrand();
- }
+// LoadEvent_SikpAddBrand();
+// }
- /// <summary>
- /// 娣诲姞鍐呭涓虹┖鎻愮ず椤甸潰
- /// </summary>
- void AddEmptyTipView()
- {
- var emptyTipView = new FrameLayout()
- {
- Height =Application.GetRealWidth(470),
- Width = contentView.Width,
- };
- contentView.AddChidren(emptyTipView);
+// /// <summary>
+// /// 娣诲姞鍐呭涓虹┖鎻愮ず椤甸潰
+// /// </summary>
+// void AddEmptyTipView()
+// {
+// var emptyTipView = new FrameLayout()
+// {
+// Height =Application.GetRealWidth(470),
+// Width = contentView.Width,
+// };
+// contentView.AddChidren(emptyTipView);
- var tipView = new EmptyTipView(Language.StringByID(StringId.TipNotThirdPartyDevice))
- {
- Gravity = Gravity.Center
- };
- 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;
- };
- }
- }
-}
+// var tipView = new EmptyTipView(Language.StringByID(StringId.TipNotThirdPartyDevice))
+// {
+// Gravity = Gravity.Center
+// };
+// 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