I’ve just started implementing my WPF application with Caliburn Micro framework (it’s my first time with it).
I’ve configured AppBootstrapper class and everything works (my main window is shown), but now I would like to achieve more complex behavioral of my app. At the beginning I would like to show only a Splash Screen (it will load some data from the service). After it I want to show only a LogIn window and if user logs into the system my Main window should be shown.
Telling in another word I would like to achieve that kind of window flow:
Splash screen -> Login window -> Main window
I’ve tried to implement something like ShellController that would derive from Conductor<IScreen>.Collection.OneActive or Conductor<IScreen>, but I don’t know how to do it without View for the Shell (it should be only the controller for the whole application).
My another idea is to override DisplayRootView method in AppBootstrapper and there use IWindowManager to show windows. Is it good approach?
I would be really appreciated for any help or suggestions.
Yes override the DisplayRootView and use the IWindowManager to display the different screens / view models.
Something like this: