SplashScreenManager.CloseForm(Boolean) Method

Closes the displayed wait form or splash screen. Allows you to 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
Public Shared Sub CloseForm(
    throwExceptionIfAlreadyClosed As Boolean


Name Type Description
throwExceptionIfAlreadyClosed Boolean

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


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