开发者

Testing Silverlight splashscreen

开发者 https://www.devze.com 2023-02-23 07:26 出处:网络
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 th

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消