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