コード例 #1
0
ファイル: themeScreen.cs プロジェクト: iandill236/Time-Blast
        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();
        }
コード例 #2
0
ファイル: Form1.cs プロジェクト: iandill236/Time-Blast
        public void OnStart()
        {
            // Create an instance of the MainScreen

            menuScreen ms = new menuScreen();



            // Add the User Control to the Form

            this.Controls.Add(ms);
        }