| | |
| | | /// <summary>
|
| | | /// 输入的登陆账号(重新登陆时使用)
|
| | | /// </summary> |
| | | private string oldInputAccount = string.Empty; |
| | | private string oldInputPhone = string.Empty;
|
| | | /// <summary>
|
| | | /// 输入的登陆账号(重新登陆时使用)
|
| | | /// </summary> |
| | | private string oldInputEmail = string.Empty; |
| | | |
| | | #endregion |
| | | |
| | |
| | | public void LoginViewShow(string account = "") |
| | | { |
| | | //设置一下初始值 |
| | | if (account.Contains("@") == true) { this.oldInputAccount = account; } |
| | | else { this.oldInputAccount = account; } |
| | | if (account.Contains("@") == true) { this.oldInputEmail = account; } |
| | | else { this.oldInputPhone = account; } |
| | | |
| | | #region midFrameLayout |
| | | midFrameLayout = new FrameLayout() |
| | |
| | | return; |
| | | } |
| | | phoneRow = new PhoneLoginRowForm(); |
| | | phoneRow.Init(accountPwdFrameLayout, this, this.oldInputAccount, 29, 29); |
| | | phoneRow.Init(accountPwdFrameLayout, this, this.oldInputPhone, 29, 29); |
| | | phoneRow.AccountET.TextChangeEventHandler += Account_TextChange;
|
| | |
|
| | | phonePwdRow = new PwdLoginRowForm();
|
| | |
| | | return;
|
| | | } |
| | | emailRow = new EmailLoginRowForm(); |
| | | emailRow.Init(accountPwdFrameLayout, this.oldInputAccount, 29, 29); |
| | | emailRow.Init(accountPwdFrameLayout, this.oldInputEmail, 29, 29); |
| | | emailRow.AccountET.TextChangeEventHandler += Account_TextChange;
|
| | |
|
| | | emailPwdRow = new PwdLoginRowForm();
|