I would like to use a regular window for splash screen, so no PNG splash screen but a normal window where I can add some bitmaps on.
What is the best way: to keep in app.xaml the loading of the main screen and put the splash screen in the constructor or somewhere in an event handler?
The splash scren itself is quite easy, just has some labels, a link, a few images and just waits a few seconds before closing, no actions to be done while waiting.
Specifically for a splash screen, it is very important to make use of the functionality introduced in .NET 3.5 for this purpose. If you simply use a vanilla
Windowit can take quite some time for the WPF stack to initialize, and in the interim the user will not be seeing any feedback for their “launch the app” action.Of course this does not satisfy the requirements of the question (“use a regular window”), but if it’s not acceptable I would recommend using an different technology than WPF entirely because of the problem mentioned above.