From 83f5dcf34d961ac18cf393a21687bf5aca199181 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期五, 11 三月 2022 09:26:50 +0800
Subject: [PATCH] 引入全视通dll库
---
ZigbeeApp/Shared/Phone/Login/AccountResetPWDSuccess.cs | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 105 insertions(+), 0 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Login/AccountResetPWDSuccess.cs b/ZigbeeApp/Shared/Phone/Login/AccountResetPWDSuccess.cs
new file mode 100644
index 0000000..eea97f8
--- /dev/null
+++ b/ZigbeeApp/Shared/Phone/Login/AccountResetPWDSuccess.cs
@@ -0,0 +1,105 @@
+锘縰sing System;
+using Shared.Common;
+
+namespace Shared.Phone.Login
+{
+ public class AccountResetPWDSuccess : FrameLayout
+ {
+ public AccountResetPWDSuccess()
+ {
+ Tag = "Forgot";
+ }
+ /// <summary>
+ /// Show
+ /// </summary>
+ public void Show()
+ {
+ var dialog = new FrameLayout()
+ {
+ BackgroundColor = ZigbeeColor.Current.GXCDailogBackGroundColor
+ };
+ AddChidren(dialog);
+
+ var blackBG = new FrameLayout()
+ {
+ Y = Application.GetRealHeight(576),
+ Width = Application.GetRealWidth(827),
+ Height = Application.GetRealHeight(904),
+ Gravity = Gravity.CenterHorizontal,
+ BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor,
+ Radius=(uint)Application.GetRealHeight(20)
+ };
+ AddChidren(blackBG);
+
+ var sucBtn = new Button()
+ {
+ Y = Application.GetRealHeight(657),
+ Width = Application.GetMinReal(346),
+ Height = Application.GetMinReal(346),
+ Gravity = Gravity.CenterHorizontal,
+ UnSelectedImagePath = "Account/ChangeSuccess.png"
+ };
+ AddChidren(sucBtn);
+
+ var tipBtn = new Button()
+ {
+ Y = sucBtn.Bottom+Application.GetRealHeight(35),
+ Width = Application.GetRealWidth(500),
+ Height = Application.GetRealHeight(80),
+ Gravity = Gravity.CenterHorizontal,
+ TextID = R.MyInternationalizationString.ResetSuccess,
+ TextColor = ZigbeeColor.Current.GXCTextBlackColor,
+ TextSize = 16
+ };
+ AddChidren(tipBtn);
+
+ var tip = new Button()
+ {
+ Y = tipBtn.Bottom+ Application.GetRealHeight(15),
+ Width = Application.GetRealWidth(700),
+ Height = Application.GetRealHeight(80),
+ Gravity = Gravity.CenterHorizontal,
+ TextID = R.MyInternationalizationString.ResetScucessPleaseLogin,
+ TextColor = ZigbeeColor.Current.GXCTextGrayColor,
+ TextSize = 14,
+ };
+ AddChidren(tip);
+
+ var loginBtn = new Button()
+ {
+ Y = Application.GetRealHeight(1284),
+ Width = Application.GetRealWidth(688),
+ Height = Application.GetRealHeight(127),
+ Gravity = Gravity.CenterHorizontal,
+ TextID = R.MyInternationalizationString.Login,
+ TextSize = 15,
+ TextColor = ZigbeeColor.Current.GXCTextGrayColor,
+ SelectedTextColor = ZigbeeColor.Current.GXCTextWhiteColor,
+ SelectedBackgroundColor = ZigbeeColor.Current.GXCButtonBlackSelectedColor,
+ BackgroundColor = ZigbeeColor.Current.GXCButtonUnSelectedColor,
+ Radius = (uint)Application.GetRealHeight(127 / 2),
+ IsSelected = true
+ };
+ AddChidren(loginBtn);
+
+ loginBtn.MouseUpEventHandler += (sender, e) =>
+ {
+ try
+ {
+ CommonPage.Instance.RemoveViewByTag("Forgot");
+ CommonPage.Instance.RemoveViewByTag("Login");
+ }
+ catch
+ {
+
+ }
+ finally
+ {
+ var login = new AccountLoginForm();
+ CommonPage.Instance.AddChidren(login);
+ login.ShowForm();
+ }
+ };
+ }
+ }
+}
--
Gitblit v1.8.0