private void TwoPlayersfrmDetails_FormClosed(object sender, FormClosedEventArgs e)
        {
            FirstForm f1 = new FirstForm();

            this.Hide();
            f1.Show();
        }
Example #2
0
        private void Resetbtn_Click(object sender, EventArgs e)
        {
            rec = 1;
            this.Close();
            TwoPlayersfrmDetails f1 = new TwoPlayersfrmDetails();

            f1.Show();
            FirstForm f2 = new FirstForm();

            f2.Close();
        }
Example #3
0
        private void TwoPlayersfrm_FormClosed(object sender, FormClosedEventArgs e)
        {
            FirstForm f1 = new FirstForm();

            if (rec == 1)
            {
                f1.Close();
            }
            else
            {
                f1.Show();
            }
        }