private void textBox9_TextChanged(object sender, EventArgs e)
{
if (textBox9.Text != "")
{
if (textBox9.Text == textBox12.Text ||
textBox9.Text == textBox16.Text ||
textBox9.Text == textBox13.Text ||
textBox9.Text == textBox2.Text ||
textBox9.Text == textBox6.Text ||
textBox9.Text == textBox11.Text ||
textBox9.Text == textBox10.Text)
{
textBox9.BackColor = Color.Red;
}
else
{
textBox9.BackColor = Color.White;
}
}
else
{
textBox9.BackColor = Color.White;
}
congratulations();
}