Testing Silverlight splashscreen
I have created a splashscreen in Silverligh开发者_开发技巧t, but my project loads so quickly that I never have a chance to test it. How should I go about ensuring it is working?
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.
精彩评论