System.Windows.Forms.Form.Shown Event

Occurs whenever the form is first displayed.

Syntax

public event EventHandler Shown

Remarks

The Form.Shown event is only raised the first time a form is displayed; subsequently minimizing, maximizing, restoring, hiding, showing, or invalidating and repainting will not raise this event. For more information about the order of events of a form, see Order of Events in Windows Forms.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0