示例#1
0
        private void easyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = this.FindForm();

            f.Controls.Remove(this);

            easyScreen es = new easyScreen();

            f.Controls.Add(es);
        }
示例#2
0
        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);
        }