private void hardToolStripMenuItem_Click(object sender, EventArgs e) { Form f = this.FindForm(); f.Controls.Remove(this); hardScreen hs = new hardScreen(); f.Controls.Add(hs); }
private void hardB_Click(object sender, EventArgs e) { //add sound f1.bPlayer.Play(); f1.backPlayer.Stop(); Form f = this.FindForm(); f.Controls.Remove(this); hardScreen hs = new hardScreen(); f.Controls.Add(hs); }