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); }
void OnLoaded(object sender, RoutedEventArgs e) { Dev2SplashScreen.Close(TimeSpan.FromSeconds(0.3)); }