Share via


WizardForm.OnInitialActivated(EventArgs) Method

Definition

Indicates that the form has been loaded for the first time, and raises the Activated event.

protected:
 override void OnInitialActivated(EventArgs ^ e);
protected override void OnInitialActivated (EventArgs e);
override this.OnInitialActivated : EventArgs -> unit
Protected Overrides Sub OnInitialActivated (e As EventArgs)

Parameters

e
EventArgs

A EventArgs that contains the event data.

Remarks

If implemented in your code, this method is called when the wizard form is first loaded. This method enables you to create a custom OnInitialActivated method.

In this custom method, you should call the base.OnInitialActivated(e) method to initialize the wizard pages. If both the OnInitialActivated and OnLoad methods are implemented, the OnLoad method occurs first.

Applies to