Skip to main content
A newer version of this page is available. .

SplashScreenManager.ShowForm(Form, Type) Method

Creates and displays the specified SplashScreen or WaitForm descendant, centering it against another form.

Namespace: DevExpress.XtraSplashScreen

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public static void ShowForm(
    Form parentForm,
    Type splashFormType
)

Parameters

Name Type Description
parentForm Form

A Form relative to which the displayed splash form is positioned. This parameter is in effect when displaying WaitForms.

splashFormType Type

The type of splash form to be displayed.

Remarks

The ShowForm method creates a splash form whose type is passed as the splashFormType parameter, and then displays this splash form centered against the specified parent form. Splash forms are presented by SplashScreen and WaitForm class descendants.

To close the opened splash form, use the SplashScreenManager.CloseForm method.

See Also