private void TwoPlayersfrmDetails_FormClosed(object sender, FormClosedEventArgs e) { FirstForm f1 = new FirstForm(); this.Hide(); f1.Show(); }
private void Resetbtn_Click(object sender, EventArgs e) { rec = 1; this.Close(); TwoPlayersfrmDetails f1 = new TwoPlayersfrmDetails(); f1.Show(); FirstForm f2 = new FirstForm(); f2.Close(); }
private void TwoPlayersfrm_FormClosed(object sender, FormClosedEventArgs e) { FirstForm f1 = new FirstForm(); if (rec == 1) { f1.Close(); } else { f1.Show(); } }