| | |
| | | //选择手机方式 |
| | | btnPhoneLogin.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | if (registerType == 0) |
| | | return; |
| | | etAccount.Text = registerPhone; |
| | | etPassword.Text = ""; |
| | | etRepeatPassword.Text = ""; |
| | | #region 切换选中按钮 |
| | | btnGetVerificationCode_Phone.Visible = true; |
| | | btnGetVerificationCode_Mail.Visible = false; |
| | |
| | | btnEmailLogin.TextSize = CSS_FontSize.TextFontSize; |
| | | btnPhoneLogin.TextColor = CSS_Color.MainColor; |
| | | btnPhoneLogin.TextSize = CSS_FontSize.EmphasisFontSize_Secondary; |
| | | etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryCorrectMobilNeumber); |
| | | etAccount.PlaceholderText = Language.StringByID(StringId.PlsEntryAccount); |
| | | #endregion |
| | | |
| | | #region 切换方式方式及图标 |
| | |
| | | //选择邮箱方式 |
| | | btnEmailLogin.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | if (registerType == 1) |
| | | return; |
| | | etAccount.Text = registerEmail; |
| | | etPassword.Text = ""; |
| | | etRepeatPassword.Text = ""; |
| | | #region 切换选中按钮 |
| | | btnGetVerificationCode_Phone.Visible = false; |
| | | btnGetVerificationCode_Mail.Visible = true; |