System.Windows.Forms.DialogResult.Cancel Field

The dialog box return value is Cancel (usually sent from a button labeled Cancel).

Syntax

DialogResult Cancel

Requirements

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