Sudoku.Form1.textBox16_TextChanged C# (CSharp) Method

textBox16_TextChanged() private method

private textBox16_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void textBox16_TextChanged(object sender, EventArgs e)
        {
            if (textBox16.Text != "")
            {
                if (textBox16.Text == textBox12.Text ||
                    textBox16.Text == textBox9.Text ||
                    textBox16.Text == textBox13.Text ||
                    textBox16.Text == textBox4.Text ||
                    textBox16.Text == textBox8.Text ||
                    textBox16.Text == textBox14.Text ||
                    textBox16.Text == textBox15.Text)
                {
                    textBox16.BackColor = Color.Red;
                }
                else
                {
                    textBox16.BackColor = Color.White;
                }
            }
            else
            {
                textBox16.BackColor = Color.White;
            }
            congratulations();
        }
Form1