private void textBox15_TextChanged(object sender, EventArgs e)
{
if (textBox15.Text != "")
{
if (textBox15.Text == textBox10.Text ||
textBox15.Text == textBox11.Text ||
textBox15.Text == textBox14.Text ||
textBox15.Text == textBox7.Text ||
textBox15.Text == textBox3.Text ||
textBox15.Text == textBox13.Text ||
textBox15.Text == textBox16.Text)
{
textBox15.BackColor = Color.Red;
}
else
{
textBox15.BackColor = Color.White;
}
}
else
{
textBox15.BackColor = Color.White;
}
congratulations();
}