Splash Screen

Jun 9, 2012 at 10:44 PM
Edited Jun 9, 2012 at 11:03 PM

Firstly, many thanks for all your efforts that you have done so far to get the WPF application framework to were it is, its great and may you long keep up the good work.

I have developed an application using the Book sample as a baseline.  However, I am struggling to design a custom splash screen view model, which displays a welcome screen to the user and text to indicate which conponents are loading.  I am using a background worker to initialise all the controllers from the application controller.  Not user if this is the correct way to do this.

This is apost on this Application Components -  http://waf.codeplex.com/discussions/203655, but i was wondering if there are any other ways.

 

 

 

Coordinator
Jun 16, 2012 at 10:45 AM

Thank you for your feedback.

Splash Screen – my ideas:

  1. Avoid a splash screen if possible and use the lazy (Lazy<T>) approach instead. In other words load only what is really necessary at startup and load the other components on demand.
     
  2. If you still need a splash screen then use the simple one which is supported out of the box by Visual Studio.
    http://msdn.microsoft.com/en-us/library/cc656886.aspx
     
  3. Don’t use the BackgroundWorker to initialize the Controller. Multithreading programming is very difficult and error prone.