static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            splashform    = new SplashForm();
            bmiCalculator = new BMICalculator();

            Application.Run(splashform);
        }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            //  INSTANTIATING THE FORM OBJECTS
            splashform    = new SplashForm();
            bmiCalculator = new BMICalculator();

            //  DECLARING FROM WHERE THE APPLICATION WILL START
            Application.Run(splashform);
        }