I have a WPF Application and a Login Window using a separate Thread. On my main Thread the Application is loading (PRISM Modules etc.) and reports the progress to my Login Window.
When the Bootstrapper has finished the Login View will be closed and the Application MainWindow will be shown.
To be sure every Background Work or Dispatcher
Activity is done I want to call an method before Showing the MainWindow.
Is there any Method to process with all pending Background tasks / Dispatcher
queue Items?