wxr
2020-07-15 9dcd17ee7578c5a06bfcd960cc72ea2995716004
HDL_ON/UI/UI2/4-PersonalCenter/PersonalDataPageBLL.cs
@@ -15,6 +15,8 @@
            LoadEvent_Logout();
            LoadEvent_EditUserName();
            LoadEvent_SkipInterpretationSettings();
            LoadEvent_ChangeBindEmail();
            LoadEvent_ChangeBindPhone();
        }
        /// <summary>
@@ -195,6 +197,48 @@
            btnEditUserNameIcon.MouseUpEventHandler = eventHandler;
        }
        #region 修改绑定邮箱
        /// <summary>
        /// 修改绑定邮箱
        /// </summary>
        void LoadEvent_ChangeBindEmail()
        {
            EventHandler<MouseEventArgs> eventHandler = (sender, e) => {
                Action<string> action = (email) =>
                {
                    btnUserEmailInfo.Text = email;
                };
                var aep = new AccountBindInfoPage();
                MainPage.BasePageView.AddChidren(aep);
                aep.LoadPage(action,1,StringId.EmailAddress);
                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
            };
            btnUserEmailInfo.MouseUpEventHandler = eventHandler;
            btnUserEmailRight.MouseUpEventHandler = eventHandler;
            userEmailInfoView.MouseUpEventHandler = eventHandler;
        }
        /// <summary>
        /// 修改绑定手机
        /// </summary>
        void LoadEvent_ChangeBindPhone()
        {
            EventHandler<MouseEventArgs> eventHandler = (sender, e) => {
                Action<string> action = (phone) =>
                {
                    btnUserPhoneInfo.Text = phone;
                };
                var aep = new AccountBindInfoPage();
                MainPage.BasePageView.AddChidren(aep);
                aep.LoadPage(action, 2, StringId.PhoneInfo);
                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
            };
            btnUserPhoneInfo.MouseUpEventHandler = eventHandler;
            btnUserPhoneRight.MouseUpEventHandler = eventHandler;
            userPhoneInfoView.MouseUpEventHandler = eventHandler;
        }
        #endregion
        #region 解锁设置区域
        void LoadEvent_SkipInterpretationSettings()