private void button1_Click(object sender, System.EventArgs e)
 {
     if (comboBox1.SelectedItem == comboBox2.SelectedItem)
     {
         MessageBox.Show("Symbols cannot be the same.", "Duplication error", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     if (textBox1.Text == textBox2.Text)
     {
         MessageBox.Show("Player names cannot be the same.", "Duplication error", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     if (textBox1.Text.Equals(string.Empty) || textBox2.Text.Equals(string.Empty))
     {
         MessageBox.Show("Please enter a name.", "Missing names", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     this.Hide();
     var multyPlayer = new GameBoardView();
     multyPlayer.ShowDialog();
     this.Close();
 }
        private void button1_Click(object sender, System.EventArgs e)
        {
            if (comboBox1.SelectedItem == comboBox2.SelectedItem)
            {
                MessageBox.Show("Symbols cannot be the same.", "Duplication error", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            if (textBox1.Text == textBox2.Text)
            {
                MessageBox.Show("Player names cannot be the same.", "Duplication error", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            if (textBox1.Text.Equals(string.Empty) || textBox2.Text.Equals(string.Empty))
            {
                MessageBox.Show("Please enter a name.", "Missing names", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            this.Hide();
            var multyPlayer = new GameBoardView();

            multyPlayer.ShowDialog();
            this.Close();
        }