[]
Creates a new instance of LongOperationEventArgs with default properties (Complete=0, CanCancel=false).
public LongOperationEventArgs()
Public Sub New()
Creates a new instance of LongOperationEventArgs with the specified complete value and CanCancel=false.
public LongOperationEventArgs(float complete)
Public Sub New(complete As Single)
Type | Name | Description |
---|---|---|
float | complete | How much is complete (from 0 to 1). |
Creates a new instance of LongOperationEventArgs with the specified complete and CanCancel values.
public LongOperationEventArgs(float complete, bool canCancel)
Public Sub New(complete As Single, canCancel As Boolean)
Type | Name | Description |
---|---|---|
float | complete | How much is complete (from 0 to 1). |
bool | canCancel | Whether the operation can be canceled. |
Creates a new instance of LongOperationEventArgs with the specified CanCancel value and Complete=0.
public LongOperationEventArgs(bool canCancel)
Public Sub New(canCancel As Boolean)
Type | Name | Description |
---|---|---|
bool | canCancel | Whether the operation can be canceled. |