static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); startForm = new StartForm(); mainForm = new BMICalculatorForm(); Application.Run(startForm); }
private void SplashTimer_Tick(object sender, EventArgs e) { SplashTimer.Enabled = false; BMICalculatorForm newBMI = new BMICalculatorForm(); newBMI.Show(); Hide(); }