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

Declaration

public static void CloseForm(
    bool throwExceptionIfAlreadyClosed
)
Public Shared Sub CloseForm(
    throwExceptionIfAlreadyClosed As Boolean
)

Parameters

Name Type Description
throwExceptionIfAlreadyClosed Boolean

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

Remarks

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