From 20f70e3446df19bf5d0faaae9f7bd58fd0fc4bcc Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 04 八月 2023 12:06:51 +0800
Subject: [PATCH] 轮询备份
---
Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs | 94 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
index 03d3e9e..45d3d68 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountView.cs
@@ -1,5 +1,7 @@
锘縰sing System;
using System.Collections.Generic;
+using System.IO;
+using System.Text;
using service.hdlcontrol.com_push;
namespace Shared.SimpleControl.Phone
@@ -9,6 +11,7 @@
public AccountView ()
{
}
+
public void ShouwAccountView ()
{
@@ -171,6 +174,97 @@
};
contentView.AddChidren (btnModifyNullLine);
#endregion
+
+ #region 骞冲彴杩佺Щ
+
+ var moveToNewCloudView = new FrameLayout () {
+ Height = Application.GetRealHeight (100),
+ };
+ contentView.AddChidren (moveToNewCloudView);
+
+ Button btnTitle = new Button () {
+ X = Application.GetRealWidth (40),
+ Text = "Platform migration",
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = SkinStyle.Current.TextColor1,
+ };
+ moveToNewCloudView.AddChidren (btnTitle);
+
+ Button btnRight = new Button () {
+ X = Application.GetRealWidth (580),
+ Width = Application.GetRealWidth (28),
+ Height = Application.GetRealHeight (40),
+ Gravity = Gravity.CenterVertical,
+ UnSelectedImagePath = "Item/Right.png",
+ SelectedImagePath = "Item/RightSelected.png",
+ };
+ moveToNewCloudView.AddChidren (btnRight);
+
+ EventHandler<MouseEventArgs> eHandler = (sender, e) => {
+ var bean = new MigrationServer ();
+ bean.ShowDialog ();
+ };
+
+ moveToNewCloudView.MouseUpEventHandler += eHandler;
+ btnTitle.MouseUpEventHandler += eHandler;
+ btnRight.MouseUpEventHandler += eHandler;
+
+ Button btnLine = new Button () {
+ Height = Application.GetRealHeight (5),
+ BackgroundColor = SkinStyle.Current.MainColor,
+ };
+ contentView.AddChidren (btnLine);
+ #endregion
+
+
+
+ #region 鎵嬪姩鍗囩骇
+
+ var manualUpgradeView = new FrameLayout () {
+ Height = Application.GetRealHeight (100),
+ };
+ contentView.AddChidren (manualUpgradeView);
+
+ Button btnmanualUpgradeTitle = new Button () {
+ X = Application.GetRealWidth (40),
+ Text = "Manual upgrade",
+ TextAlignment = TextAlignment.CenterLeft,
+ TextColor = SkinStyle.Current.TextColor1,
+ };
+ manualUpgradeView.AddChidren (btnmanualUpgradeTitle);
+
+ Button btnmanualUpgradeRight = new Button () {
+ X = Application.GetRealWidth (580),
+ Width = Application.GetRealWidth (28),
+ Height = Application.GetRealHeight (40),
+ Gravity = Gravity.CenterVertical,
+ UnSelectedImagePath = "Item/Right.png",
+ SelectedImagePath = "Item/RightSelected.png",
+ };
+ manualUpgradeView.AddChidren (btnmanualUpgradeRight);
+
+ EventHandler<MouseEventArgs> manualUpgradeHandler = (sender, e) => {
+ var bean = new ManualUpgradeDialog ();
+ bean.ShowDialog ();
+ };
+
+ manualUpgradeView.MouseUpEventHandler += manualUpgradeHandler;
+ btnmanualUpgradeTitle.MouseUpEventHandler += manualUpgradeHandler;
+ btnmanualUpgradeRight.MouseUpEventHandler += manualUpgradeHandler;
+
+ Button btnLine2 = new Button () {
+ Height = Application.GetRealHeight (5),
+ BackgroundColor = SkinStyle.Current.MainColor,
+ };
+ contentView.AddChidren (btnLine2);
+ #endregion
+
+
+
+
+
+
+
Button btnLogout = new Button () {
Y = contentView.Bottom,
Height = Application.GetRealHeight (93),
--
Gitblit v1.8.0