WindowsFormsApplicationBase.ShowSplashScreen Method ()

 

Determines if the application has a splash screen defined, and if it does, displays it.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Protected Sub ShowSplashScreen

By default, this method calls OnCreateSplashScreen in a thread-safe way.

The ShowSplashScreen method contains the code that displays the splash screen for at least the number of milliseconds specified by the MinimumSplashScreenDisplayTime property. To use this functionality, you must set the My.Application.MinimumSplashScreenDisplayTime property in a method that overrides the ShowSplashScreen or OnCreateSplashScreen method, or add the splash screen to your application using the Project Designer. For more information, see MinimumSplashScreenDisplayTime.

This method is called by the OnInitialize method.

.NET Framework
Available since 2.0
Return to top
Show: