RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

Bug: Fields need to get populated in authTypeCb_SelectedIndexChanged()

Open MitsuSan opened this issue 10 years ago • 0 comments

    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();
        }
   }

MitsuSan avatar Aug 02 '16 14:08 MitsuSan