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

            f.Controls.Remove(this);

            menuScreen ms = new menuScreen();

            f.Controls.Add(ms);
            ms.Focus();
        }
Esempio n. 2
0
        public void OnStart()
        {
            // Create an instance of the MainScreen

            menuScreen ms = new menuScreen();



            // Add the User Control to the Form

            this.Controls.Add(ms);
        }