public void Ejecutar() { detener = false; thread = new Thread( () => { splashScreen f = new splashScreen(); f.Show(); while (!this.detener) { Thread.Sleep(100); Application.DoEvents(); } f.Close(); f.Dispose(); } ); thread.Start(); }
public void splash() { splashS = new splashScreen(); Application.Run(splashS); }