WPF应用程序启动显示图片资源

调用SplashScreen类windows

为 windows presentation foundation (WPF) 应用程序提供一个启动屏幕。app

url:http://msdn.microsoft.com/zh-cn/library/system.windows.splashscreen.aspx
 

实例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();
        }
    }
相关文章
相关标签/搜索