SplashScreenManager.CloseForm(Boolean, Int32, Form) Method
Closes the currently displayed SplashScreen or WaitForm after a specified delay. Allows you to select a form that should be subsequently activated, and suppress an exception that is raised when no splash form is currently opened.
Namespace: DevExpress.XtraSplashScreen
Assembly: DevExpress.XtraEditors.v19.1.dll
Declaration
public static void CloseForm(
bool throwExceptionIfAlreadyClosed,
int closingDelay,
Form parent
)
Parameters
Name | Type | Description |
---|---|---|
throwExceptionIfAlreadyClosed | Boolean | true to raise an exception if no splash form is currently open; otherwise, false. |
closingDelay | Int32 | An Int32 value that is the number of milliseconds that elapses before the splash form is closed. |
parent | Form | A Form object that should be activated after the splash form is closed. |
Remarks
The CloseForm method destroys a form that has been displayed using the SplashScreenManager.ShowForm method.
See Also