SplashScreenManager.CloseForm(Boolean, Boolean) Method

Closes the wait form or splash screen.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

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

Parameters

Name Type Description
throwExceptionIfAlreadyClosed Boolean

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

waitForSplashFormClose Boolean

true to block the current thread until the splash form is closed; 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