RocketBot
RocketBot copied to clipboard
Bug: Fields need to get populated in authTypeCb_SelectedIndexChanged()
private void authTypeCb_SelectedIndexChanged(object sender, EventArgs e)
{
if (authTypeCb.Text == "google")
{
UserLabel.Text = "Email:";
UserLoginBox.Text = Settings.Instance.Email.ToString();
UserPasswordBox.Text = Settings.Instance.Password.ToString();
}
else
{
UserLabel.Text = "Username:";
UserLoginBox.Text = Settings.Instance.PtcUsername.ToString();
UserPasswordBox.Text = Settings.Instance.PtcPassword.ToString();
}
}