标签:
protected override void OnLaunched(LaunchActivatedEventArgs args) { if (args.PreviousExecutionState != ApplicationExecutionState.Running) { bool loadState = (args.PreviousExecutionState == ApplicationExecutionState.Terminated); ExtendedSplash extendedSplash = new ExtendedSplash(args.SplashScreen, loadState); Window.Current.Content = extendedSplash; } Window.Current.Activate(); }
示例代码工程下载:
https://code.msdn.microsoft.com/windowsapps/Splash-screen-sample-89c1dc78/
Windows Phone SplashScreen初始屏幕示例
标签:
原文地址:http://www.cnblogs.com/wzwyc/p/4204939.html