Ejemplo n.º 1
0
        private void SplashForm_timer_Tick(object sender, EventArgs e)
        {
            //enable timer
            SplashForm_timer.Enabled = false;
            //Instantiate Generate Name Form
            GenerateNameForm generateNameForm = new GenerateNameForm();

            //Show the generate form
            generateNameForm.Show();
            //close the generate form
            this.Hide();
        }
Ejemplo 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());
 }