WindowsFormsApplicationBase.OnCreateSplashScreen Method

Definition

When overridden in a derived class, allows a designer to emit code that initializes the splash screen.

protected:
 virtual void OnCreateSplashScreen();
protected virtual void OnCreateSplashScreen ();
abstract member OnCreateSplashScreen : unit -> unit
override this.OnCreateSplashScreen : unit -> unit
Protected Overridable Sub OnCreateSplashScreen ()

Remarks

By default, this method does nothing. If you select a splash screen for your application in the Visual Basic Project Designer, the designer overrides the OnCreateSplashScreen method with a method that sets the SplashScreen property to a new instance of the splash-screen form.

This method is called by the OnInitialize method.

Applies to

See also