Exemplo 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();
        }
Exemplo 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);
        }