If your application is lightweight and simple, it will launch very fast, and with similar speed will appear and disappear splash screen.
As soon as splash screen disappearing after Application.Startup
method completed, you can simulate application launch delay by following this steps:
using System.Threading;
OnStartup
method and add Thread.Sleep(3000);
inside it:Code should look like:
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading;
using System.Windows;
namespace WpfApplication1
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
Thread.Sleep(3000);
}
}
}