Gets a value that indicates the reason of the closing.
public System.Windows.Forms.CloseReason CloseReason{ get; }
Public ReadOnly Property CloseReason() As System.Windows.Forms.CloseReason
Read only.