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