SplashScreenManager.CloseForm(Boolean, Boolean) Method
Closes the currently displayed SplashScreen or WaitForm, and blocks the current thread until the splash form has actually been closed. The method’s parameter allows you to suppress an exception that is raised when no splash form is currently opened.
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v19.2.dll
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 currently open; otherwise, false. |
waitForSplashFormClose | Boolean | true, to block the current thread until the splash form has actually been closed; otherwise, false. |
Remarks
The CloseForm method destroys a form that has been displayed using the SplashScreenManager.ShowForm method.
See Also