| | |
| | | this.RemoveFromParent(); |
| | | var vcp = new ResetPasswordVerificationCodePage(); |
| | | MainPage.BasePageView.AddChidren(vcp); |
| | | vcp.LoadPage(StringId.PhoneNumberVerification,2); |
| | | vcp.LoadPage(StringId.PhoneNumberVerification, true, MainPage.LoginUser.userMobileInfo); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | } |
| | | } |
| | |
| | | this.RemoveFromParent(); |
| | | var vcp = new ResetPasswordVerificationCodePage(); |
| | | MainPage.BasePageView.AddChidren(vcp); |
| | | vcp.LoadPage(StringId.EmailVerification,1); |
| | | vcp.LoadPage(StringId.EmailVerification, false, MainPage.LoginUser.userEmailInfo); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | } |
| | | } |
| | |
| | | dialogView.MouseUpEventHandler = (sender, e) => { |
| | | dialog.Close(); |
| | | }; |
| | | |
| | | Button btnTitleIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(108), |
| | | Y = Application.GetRealWidth(152), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealWidth(160), |
| | | UnSelectedImagePath = "PersonalCenter/ResetPassword/DialogTipTitleIcon.png" |
| | | }; |
| | | dialogView.AddChidren(btnTitleIcon); |
| | | |
| | | dialog.AddChidren(dialogView); |
| | | |
| | | FrameLayout contentView = new FrameLayout() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | }; |
| | | dialogView.AddChidren(contentView); |
| | | |
| | | Button btnTitleIcon = new Button() |
| | | { |
| | | X = Application.GetRealWidth(108), |
| | | Y = Application.GetRealWidth(152), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealWidth(160), |
| | | UnSelectedImagePath = "PersonalCenter/ResetPassword/DialogTipTitleIcon.png" |
| | | }; |
| | | dialogView.AddChidren(btnTitleIcon); |
| | | btnTitleIcon.MouseUpEventHandler = (sender, e) => { |
| | | dialog.Close(); |
| | | }; |
| | | |
| | | Button btnMsg = new Button() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |
| | |
| | | Height = Application.GetRealWidth(62), |
| | | TextColor = CSS_Color.MainColor, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextID = verificationOption == 0?StringId.UnBindPhoneNumberCannotVerification: StringId.UnBindEmailCannotVerification, |
| | | TextID = verificationOption == 0 ? StringId.UnBindPhoneNumberCannotVerification: StringId.UnBindEmailCannotVerification, |
| | | }; |
| | | contentView.AddChidren(btnMsg); |
| | | |
| | |
| | | TextAlignment = TextAlignment.Center, |
| | | Radius = (uint)Application.GetRealWidth(22), |
| | | BackgroundColor = CSS_Color.MainColor, |
| | | TextID = StringId.PhoneNumberVerification, |
| | | TextID = StringId.GoBind, |
| | | TextSize = CSS_FontSize.SubheadingFontSize, |
| | | TextColor = CSS_Color.MainBackgroundColor, |
| | | }; |