예제 #1
0
 private void VerifyButton_Click(object sender, EventArgs e)
 {
     WaitLabel.Visible = true;
     if (userCreator.TCVerify(TCUserNameTextBox.Text, TCPasswordTextBox.Text))
     {
         TCUserNameTextBox.BackColor = Color.LightGreen;
         TCPasswordTextBox.BackColor = Color.LightGreen;
         GoogleButton.Enabled        = true;
     }
     else
     {
         TCUserNameTextBox.BackColor = Color.OrangeRed;
         TCPasswordTextBox.BackColor = Color.OrangeRed;
     }
     WaitLabel.Visible = false;
 }