| | |
| | | #endregion |
| | | |
| | | #region 局部变量列表 |
| | | /// <summary> |
| | | /// 账号类型 |
| | | /// 0:手机 |
| | | /// 1:邮箱 |
| | | /// </summary> |
| | | int accountType = 0; |
| | | ///// <summary> |
| | | ///// 账号类型 |
| | | ///// 0:手机 |
| | | ///// 1:邮箱 |
| | | ///// </summary> |
| | | //int accountType = 0; |
| | | /// <summary> |
| | | /// 手机号码是否有效 |
| | | /// </summary> |
| | |
| | | /// 0:手机 |
| | | /// 1:邮箱 |
| | | /// </summary> |
| | | int registerType; |
| | | int registerType = 0; |
| | | /// <summary> |
| | | /// 手机区号 |
| | | /// </summary> |
| | |
| | | |
| | | string registerPhone; |
| | | string registerEmail; |
| | | /// <summary> |
| | | /// 是否点击了返回,用于屏蔽EditText失去焦点检测事件 |
| | | /// </summary> |
| | | bool isHitBack; |
| | | #endregion |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | public void ShowDialog() |
| | | { |
| | | new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)).LoadTopView(); |
| | | Action backAction = () => |
| | | { |
| | | isHitBack = true; |
| | | }; |
| | | |
| | | new TopViewDiv(this, bodyView, Language.StringByID(StringId.Register)).LoadTopView(backAction); |
| | | //new PublicAssmebly().LoadTopView(this, bodyView, Language.StringByID(StringId.Register)); |
| | | |
| | | #region 注册方式选择 |
| | |
| | | }; |
| | | btnGlobalRoaming.MouseUpEventHandler += eHandler; |
| | | |
| | | if (accountType == 0) |
| | | if (registerType == 0) |
| | | { |
| | | accountView.AddChidren(btnGlobalRoaming); |
| | | } |
| | |
| | | Height = Application.GetMinRealAverage(20), |
| | | UnSelectedImagePath = "LoginIcon/AccountIcon.png", |
| | | }; |
| | | if (accountType == 1) |
| | | if (registerType == 1) |
| | | { |
| | | accountView.AddChidren(btnAccountIcon); |
| | | } |