private void button1_Click(object sender, EventArgs e) { SplashHandler.Start(); Thread.Sleep(300); SplashHandler.BringTop(); SplashHandler.ChangeText("Carregando..."); var x = new DelayForm(); x.ShowDialog(); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); Thread.Sleep(3000); // Simulates delay SplashHandler.Close(); // The window hides here so I tried to bring at back, without success this.Focus(); this.BringToFront(); }