SplashScreenManager.CloseForm(Boolean, Int32, Form) Method

Closes the wait form or splash screen after a delay. Allows you to select the form that should be subsequently activated, and suppress the exception raised if no splash form is opened.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v20.1.dll


public static void CloseForm(
    bool throwExceptionIfAlreadyClosed,
    int closingDelay,
    Form parent
Public Shared Sub CloseForm(
    throwExceptionIfAlreadyClosed As Boolean,
    closingDelay As Integer,
    parent As Form


Name Type Description
throwExceptionIfAlreadyClosed Boolean

true to raise an exception if no splash form is opened; otherwise, false.

closingDelay Int32

An integer value that specifies the amount of time (in milliseconds) that should elapse before the splash form is closed.

parent Form

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.


You can use the SplashScreenManager.ShowForm, SplashScreenManager.ShowSkinSplashScreen, or SplashScreenManager.ShowFluentSplashScreen method to display a wait form or splash screen. Use the SplashScreenManager.CloseForm method to close the wait form or splash screen.

See Also