Occurs after the dialog box has been closed through clicking the Ok or Cancel button. The event handler receives an argument of type EventArgs containing data related to this event.

Syntax

public event EventHandler Closed;
Public Event Closed As EventHandler