Esempio n. 1
0
        private void NextButton_Click(object sender, EventArgs e)
        {
            FinalForm finalForm = new FinalForm();

            finalForm.previousForm = this;

            finalForm.Show();
            this.Hide();
        }
Esempio n. 2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     //intiate splash form
     splashForm = new SplashForm();
     //instantiate  GenerateNameForm
     generateNameForm = new GenerateNameForm();
     //instantiate FinalForm
     finalForm = new FinalForm();
     //instantiate character
     character = new Character();
     //Change the application run to splash form
     Application.Run(new SplashForm());
 }