Keith Adler
Keith Adler

Reputation: 21178

Testing Silverlight splashscreen

I have created a splashscreen in Silverlight, but my project loads so quickly that I never have a chance to test it. How should I go about ensuring it is working?

Upvotes: 0

Views: 361

Answers (1)

Matt Greer
Matt Greer

Reputation: 62057

The easiest way to do this is to add a call to Thread.Sleep() in your App.Startup event handler, before you assign to RootVisual. Your splash screen will stay up for at least as long as you sleep for.

Upvotes: 3

Related Questions