SplashScreenManager.CloseForm(Boolean, Int32, Form, Boolean, Boolean) Method
Closes the wait form or splash screen. For internal use.
public static void CloseForm( bool throwExceptionIfAlreadyClosed, int closingDelay, Form parent, bool waitForSplashFormClose, bool allowUseInDT )
Public Shared Sub CloseForm( throwExceptionIfAlreadyClosed As Boolean, closingDelay As Integer, parent As Form, waitForSplashFormClose As Boolean, allowUseInDT As Boolean )
true to raise an exception if no splash form is opened; otherwise, false.
An integer value that specifies the amount of time (in milliseconds) that should elapse before the splash form is closed.
A form that is activated after the splash form is closed. This parameter is only in effect if the closingDelay parameter is greater than 0.
true to block the current thread until the splash form is closed; otherwise, false.
For internal use.
This member supports the internal infrastructure, and is not intended to be used directly from your code.