private void textBox16_TextChanged(object sender, EventArgs e)
{
if (textBox16.Text != "")
{
if (textBox16.Text == textBox12.Text ||
textBox16.Text == textBox9.Text ||
textBox16.Text == textBox13.Text ||
textBox16.Text == textBox4.Text ||
textBox16.Text == textBox8.Text ||
textBox16.Text == textBox14.Text ||
textBox16.Text == textBox15.Text)
{
textBox16.BackColor = Color.Red;
}
else
{
textBox16.BackColor = Color.White;
}
}
else
{
textBox16.BackColor = Color.White;
}
congratulations();
}