private void textBox6_TextChanged(object sender, EventArgs e)
{
if (textBox6.Text != "")
{
if (textBox6.Text == textBox5.Text ||
textBox6.Text == textBox8.Text ||
textBox6.Text == textBox3.Text ||
textBox6.Text == textBox1.Text ||
textBox6.Text == textBox2.Text ||
textBox6.Text == textBox11.Text ||
textBox6.Text == textBox9.Text)
{
textBox6.BackColor = Color.Red;
}
else
{
textBox6.BackColor = Color.White;
}
}
else
{
textBox6.BackColor = Color.White;
}
congratulations();
}