Esempio n. 1
0
        private void hardToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = this.FindForm();

            f.Controls.Remove(this);

            hardScreen hs = new hardScreen();

            f.Controls.Add(hs);
        }
Esempio n. 2
0
        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);
        }