private void SplashScreentimer_Tick(object sender, EventArgs e) { SplashScreentimer.Enabled = false; StartForm startForm = new StartForm(); startForm.Show(); this.Hide(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); startForm = new StartForm(); splashForm = new SplashForm(); productInfoForm = new ProductInfoForm(); orderForm = new OrderForm(); selectForm = new SelectForm(); aboutForm = new AboutForm(); products = new products(); //Application.Run(splashForm); Application.Run(splashForm); }