| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Text; |
| | | using service.hdlcontrol.com_push; |
| | | |
| | | namespace Shared.SimpleControl.Phone |
| | |
| | | public AccountView () |
| | | { |
| | | } |
| | | |
| | | |
| | | public void ShouwAccountView () |
| | | { |
| | |
| | | }; |
| | | 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), |