Sudoku.Form1.textBox13_TextChanged C# (CSharp) Method

textBox13_TextChanged() private method

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