| | |
| | | }; |
| | | |
| | | //跳转国家区号选择界面 |
| | | EventHandler<MouseEventArgs> eHandler = (sender, e) => { |
| | | JLCountrycode.CountryCodeView.Current.Show((countryName, code) => { |
| | | EventHandler<MouseEventArgs> eHandler = (sender, e) => |
| | | { |
| | | JLCountrycode.CountryCodeView.Current.Show((countryName, code) => |
| | | { |
| | | if (!string.IsNullOrEmpty(code)) |
| | | { |
| | | phoneZoneCode = code; |
| | |
| | | btnLocalMode.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | MainPage.LocalMode = true; |
| | | MainPage.LoginUser = new UserInfo(); |
| | | UserInfo.Current = new UserInfo(); |
| | | MainPage.GoUserPage(); |
| | | }; |
| | | |
| | |
| | | /// <param name="frameBack"></param> |
| | | private void AddServiceAgreementControl(FrameLayout frameLayout) |
| | | { |
| | | var frameRow = new FrameLayout() { |
| | | isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy; |
| | | var frameRow = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(28), |
| | | Y = Application.GetRealHeight(628), |
| | | }; |
| | |
| | | { |
| | | isAgreePrivacyPolicy = !isAgreePrivacyPolicy; |
| | | agreeBtn.IsSelected = isAgreePrivacyPolicy; |
| | | UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy; |
| | | UserInfo.Current.SaveUserInfo(); |
| | | }; |
| | | |
| | | agreeBtn.MouseUpEventHandler = eventHandler; |