Host Form Settings in Windows Forms Splash Screen (Splash)

29 Apr 20211 minute to read

The host form of a SplashControl application can be hidden or shown, when the splash image is displayed. The properties given below illustrate this.

Property Table

SplashControl Property Description
HostForm Gets / sets the host form of the SplashControl.
HideHostForm Specifies if the host form should be hidden when the splash screen is displayed.
HostFormWindowState Specifies whether the host form should be displayed as normal or minimized or maximized, when the splash screen is displayed.The HideHostForm property should be set to 'True'.
this.splashControl2.HostForm = this;
this.splashControl1.HideHostForm = true;
this.splashControl1.HostFormWindowState = System.Windows.Forms.FormWindowState.Normal;
Me.splashControl2.HostForm = Me
Me.SplashControl1.HideHostForm = True
Me.SplashControl1.HostFormWindowState = System.Windows.Forms.FormWindowState.Normal