| | |
| | | //bodyView = new FrameLayout(); |
| | | //AddChidren(bodyView); |
| | | bodyView = this; |
| | | //2020-12-22 增加点击隐藏键盘事件 |
| | | bodyView.MouseDownEventHandler += (sender, e) => { |
| | | Application.HideSoftInput(); |
| | | }; |
| | | pm = new HttpServerRequest(); |
| | | } |
| | | |
| | |
| | | waitPage.RemoveFromParent(); |
| | | waitPage = null; |
| | | } |
| | | else |
| | | { |
| | | base.RemoveFromParent(); |
| | | } |
| | | |
| | | base.RemoveFromParent(); |
| | | |
| | | ////2020-12-22 增加点击隐藏键盘事件 |
| | | //Application.HideSoftInput(); |
| | | } |
| | | |
| | | #region 局部变量 |
| | |
| | | }; |
| | | bodyView.AddChidren(btnIcon_bg); |
| | | |
| | | #if DEBUG |
| | | bool b = false; |
| | | btnIcon.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | #if DEBUG |
| | | etAccount.Text = "13375012446";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";// |
| | | if (b) |
| | | { |
| | | etAccount.Text = "13697499568";// "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 |
| | | } |
| | | else |
| | | { |
| | | etAccount.Text = "13375012446";//13375012446 |
| | | } |
| | | b = !b; |
| | | etPassword.Text = "123456"; |
| | | //etPassword.Text = "qqqqqq"; |
| | | btnLogin.IsSelected = true; |
| | | #endif |
| | | }; |
| | | #endif |
| | | |
| | | #region 登录方式选择 |
| | | btnPhoneLogin = new Button() |
| | |
| | | /// <param name="frameBack"></param> |
| | | private void AddServiceAgreementControl(FrameLayout frameLayout) |
| | | { |
| | | isAgreePrivacyPolicy = UserInfo.Current.isAgreePrivacyPolicy; |
| | | isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy; |
| | | var frameRow = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(28), |
| | |
| | | { |
| | | isAgreePrivacyPolicy = !isAgreePrivacyPolicy; |
| | | agreeBtn.IsSelected = isAgreePrivacyPolicy; |
| | | UserInfo.Current.isAgreePrivacyPolicy = isAgreePrivacyPolicy; |
| | | UserInfo.Current.SaveUserInfo(); |
| | | OnAppConfig.Instance.isAgreePrivacyPolicy = isAgreePrivacyPolicy; |
| | | OnAppConfig.Instance.SaveConfig(); |
| | | }; |
| | | |
| | | agreeBtn.MouseUpEventHandler = eventHandler; |