private void easyToolStripMenuItem_Click(object sender, EventArgs e) { Form f = this.FindForm(); f.Controls.Remove(this); easyScreen es = new easyScreen(); f.Controls.Add(es); }
private void easyB_Click(object sender, EventArgs e) { //add sound f1.bPlayer.Play(); f1.backPlayer.Stop(); Form f = this.FindForm(); f.Controls.Remove(this); easyScreen es = new easyScreen(); f.Controls.Add(es); }