Class AppBootstrapper
A Lisrt AppBootstrapper.
public class AppBootstrapper : AppBootstrapper
- Inheritance
-
BootstrapperBaseAppBootstrapper
- Inherited Members
-
BootstrapperBase.Initialize()BootstrapperBase.StartDesignTime()BootstrapperBase.PrepareApplication()BootstrapperBase.Application
Methods
OnExit(object, EventArgs)
Override this to add custom behavior on exit.
protected override void OnExit(object sender, EventArgs e)
Parameters
OnStartup(object, StartupEventArgs)
Shows the splash screen on startup.
protected override void OnStartup(object sender, StartupEventArgs e)
Parameters
sender
objectThe sender.
e
StartupEventArgsThe args.
OnUnhandledException(object, DispatcherUnhandledExceptionEventArgs)
Shows a custom dialog for a unhandled exception.
protected override void OnUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
Parameters
sender
objectThe sender.
e
DispatcherUnhandledExceptionEventArgsThe event arguments.
PreInitialize()
Pre initialization for the bootstrapper. Sets the CurrentCulture, CurrentUICulture, DefaultThreadCurrentCulture and DefaultThreadCurrentUICulture to InvariantCulture.
protected override void PreInitialize()
StartRuntime()
Called by the bootstrapper's constructor at runtime to start the framework.
protected override void StartRuntime()