Wait screen during rendering UIElement in WPF

不羁岁月 提交于 2019-11-29 17:02:36

You could create a new window that launches in a separate thread. Please refer to the following blog post for an example of how to do this.

Launching a WPF Window in a Separate Thread: http://reedcopsey.com/2011/11/28/launching-a-wpf-window-in-a-separate-thread-part-1/

Then you just start this thread that displays the window just after you have validated the credentials and just before your heavy rendering is about to begin.

This is probably the best thing you can do and it should also be a pretty easy thing to implement.

you can use SplashScreen to display untill the background process is completed. Refer this Splash Screen in WPF

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!