Sudoku.Form1.textBox11_TextChanged C# (CSharp) Method

textBox11_TextChanged() private method

private textBox11_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void textBox11_TextChanged(object sender, EventArgs e)
        {
            if (textBox11.Text != "")
            {
                if (textBox11.Text == textBox10.Text ||
                    textBox11.Text == textBox14.Text ||
                    textBox11.Text == textBox15.Text ||
                    textBox11.Text == textBox2.Text ||
                    textBox11.Text == textBox6.Text ||
                    textBox11.Text == textBox9.Text ||
                    textBox11.Text == textBox12.Text)
                {
                    textBox11.BackColor = Color.Red;
                }
                else
                {
                    textBox11.BackColor = Color.White;
                }
            }
            else
            {
                textBox11.BackColor = Color.White;
            }
            congratulations();
        }
Form1