ערוך

שתף באמצעות


CancelEventArgs Constructors

Definition

Initializes a new instance of the CancelEventArgs class.

Overloads

CancelEventArgs()

Initializes a new instance of the CancelEventArgs class with the Cancel property set to false.

CancelEventArgs(Boolean)

Initializes a new instance of the CancelEventArgs class with the Cancel property set to the given value.

CancelEventArgs()

Source:
CancelEventArgs.cs
Source:
CancelEventArgs.cs
Source:
CancelEventArgs.cs

Initializes a new instance of the CancelEventArgs class with the Cancel property set to false.

public:
 CancelEventArgs();
public CancelEventArgs ();
Public Sub New ()

See also

Applies to

CancelEventArgs(Boolean)

Source:
CancelEventArgs.cs
Source:
CancelEventArgs.cs
Source:
CancelEventArgs.cs

Initializes a new instance of the CancelEventArgs class with the Cancel property set to the given value.

public:
 CancelEventArgs(bool cancel);
public CancelEventArgs (bool cancel);
new System.ComponentModel.CancelEventArgs : bool -> System.ComponentModel.CancelEventArgs
Public Sub New (cancel As Boolean)

Parameters

cancel
Boolean

true to cancel the event; otherwise, false.

See also

Applies to