Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SplashScreenManager.CloseForm(Boolean, Int32, Form, Boolean, Boolean) Method

Closes the wait form or splash screen. For internal use.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public static void CloseForm(
    bool throwExceptionIfAlreadyClosed,
    int closingDelay,
    Form parent,
    bool waitForSplashFormClose,
    bool allowUseInDT
)

#Parameters

Name Type Description
throwExceptionIfAlreadyClosed Boolean

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

closingDelay Int32

An integer value that specifies the amount of time (in milliseconds) that should elapse before the splash form is closed.

parent Form

A form that is activated after the splash form is closed. This parameter is only in effect if the closingDelay parameter is greater than 0.

waitForSplashFormClose Boolean

true to block the current thread until the splash form is closed; otherwise, false.

allowUseInDT Boolean

For internal use.

#Remarks

This member supports the internal infrastructure, and is not intended to be used directly from your code.

See Also