Image and Animation Settings in Windows Forms Splash Screen (Splash)

29 Apr 20211 minute to read

This section demonstrates how to set a splash image and how to display it with animation.

Splash image

The splash image can be displayed by setting the property given below.

Property Table

SplashControl Property Description
SplashImage The image for displaying as the background of the default splash screen.
this.splashControl1.SplashImage = ((System.Drawing.Image)(resources.GetObject("splashControl1.SplashImage")));
Me.splashControl1.SplashImage = CType((resources.GetObject("splashControl1.SplashImage")), System.Drawing.Image)

Overview_img39

Animation

When animation is set for the splash image, by default, the splash image will be drawn from left to right.

Property Table

SplashControl Property Description
ShowAnimation Indicates whether the splash image should occur on the screen in an animated manner.
ShowAsTopMost Specifies if the splash screen is to be displayed as the topmost window.
SplashImage The image for displaying as the background of the default splash screen.
TransparentColor Gets / sets the color to be used to make the splash image transparent.
this.splashControl1.ShowAnimation = true;
this.splashControl1.ShowAsTopMost = false;
this.splashControl1.SplashImage = ((System.Drawing.Image)(resources.GetObject("splashControl1.SplashImage")));
this.splashControl1.TransparentColor = System.Drawing.Color.White;
Me.splashControl1.ShowAnimation = True
Me.splashControl1.ShowAsTopMost = False
Me.splashControl1.SplashImage = CType((resources.GetObject("splashControl1.SplashImage")), System.Drawing.Image)
Me.splashControl1.TransparentColor = System.Drawing.Color.White