public void SplashScreenTest_ImageAvailable_Test() { try { Dev2SplashScreen.Show(); } catch (TypeInitializationException) { Assert.Fail("Splash Screen on startup failed"); } Dev2SplashScreen.Close(TimeSpan.FromSeconds(1)); Assert.IsTrue(true); }
protected override void StartRuntime() { Dev2SplashScreen.Show(); base.StartRuntime(); }
void OnLoaded(object sender, RoutedEventArgs e) { Dev2SplashScreen.Close(TimeSpan.FromSeconds(0.3)); }