Radical Splash-Screen support for desktop apps
Take a look at the following snippet:
public App()
{
var bootstrapper = new WindsorApplicationBoostrapper<Presentation.MainView>()
.EnableSplashScreen( new SplashScreenConfiguration()
{
StartupAsyncWork = c =>
{
//async work while the splash screen is shown.
}
} );
}
It is not available yet, it is a feature we are working on that leverages the intrinsic power of partial regions: it is enough to call the EnableSplashScreen()
method (the configuration is optional) and define a partial named “SplashScreenContent
”, the partial user control will be automatically wired up at start-up and used as the splash screen content.
If you have any idea or comment chime in.
.m