爲 windows presentation foundation (WPF) 應用程序提供一個啓動屏幕。app
url:http://msdn.microsoft.com/zh-cn/library/system.windows.splashscreen.aspx
調用SplashScreen類windows
爲 windows presentation foundation (WPF) 應用程序提供一個啓動屏幕。app
實例ide
public partial class App:Application { [STAThread] static void Main(string[] args) { SplashScreen s = new SplashScreen("2.jpg"); s.Show(true); App a = new App(); a.Run(); } }