Skip to main content

SplashScreenManager.CloseForm(Boolean, Boolean) Method

Closes the wait form or splash screen.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public static void CloseForm(
    bool throwExceptionIfAlreadyClosed,
    bool waitForSplashFormClose
)

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