private void textBox8_TextChanged(object sender, EventArgs e)
{
if (textBox8.Text != "")
{
if (textBox8.Text == textBox5.Text ||
textBox8.Text == textBox6.Text ||
textBox8.Text == textBox3.Text ||
textBox8.Text == textBox4.Text ||
textBox8.Text == textBox7.Text ||
textBox8.Text == textBox14.Text ||
textBox8.Text == textBox16.Text)
{
textBox8.BackColor = Color.Red;
}
else
{
textBox8.BackColor = Color.White;
}
}
else
{
textBox8.BackColor = Color.White;
}
congratulations();
}