예제 #1
0
        private void NextButton_Click(object sender, EventArgs e)
        {
            FinalForm finalForm = new FinalForm();

            finalForm.previousForm = this;

            finalForm.Show();
            this.Hide();
        }
예제 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     splash  = new splashform();
     genform = new GenerateNameForm();
     ability = new AbilityGeneratorForm();
     race    = new RaceAndClassForm();
     final   = new FinalForm();
     Application.Run(new splashform());
 }
예제 #3
0
        private void NextButton_Click(object sender, EventArgs e)
        {
            // race prop. will be assigned when next button clicked
            Program.character.Race = _selectedRace;

            FinalForm finalForm = new FinalForm();

            finalForm.previousForm = this;


            finalForm.Show();
            this.Hide();
        }
예제 #4
0
        private void NextButton_Click(object sender, EventArgs e)
        {
            Character character = Program.character;

            character.Race = this._selectedRace;

            FinalForm finalForm = new FinalForm();

            finalForm.previousForm = this;

            finalForm.Show();
            this.Hide();
        }
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //  INSTANTIATING THE FORM OBJECTS
            splashform           = new SplashForm();
            abilitygeneratorform = new AbilityGeneratorForm();
            aboutbox             = new AboutBox();
            finalform            = new FinalForm();
            generatenameform     = new GenerateNameForm();
            raceandclassform     = new RaceAndClassForm();

            //  DECLARING WHICH FORM WILL APPEAR FIRST
            Application.Run(splashform);
        }
예제 #6
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //  this will instaniate the form object
            splashform           = new SplashForm();
            abilitygeneratorform = new AbilityGeneratorForm();
            aboutbox             = new AboutBox();
            finalform            = new FinalForm();
            generatenameform     = new GenerateNameForm();
            raceandclassform     = new RaceAndClassForm();

            //  this will help to declare the splash form first
            Application.Run(splashform);
        }