Esempio n. 1
0
        private void Menu_Click(object sender, EventArgs e)
        {
            //Returns to the menu
            Form       f  = this.FindForm();
            MenuScreen ms = new MenuScreen();

            f.Controls.Remove(this);
            f.Controls.Add(ms);
            ms.Focus();
            ms.Location = new Point((f.Width - ms.Width) / 2, (f.Height - ms.Height) / 2);
        }