Sudoku.Form1.textBox10_TextChanged C# (CSharp) Method

textBox10_TextChanged() private method

private textBox10_TextChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        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();
        }
Form1