[]
        
(Showing Draft Content)

C1.Win.LongOperationEventArgs.-ctor

LongOperationEventArgs Constructor

LongOperationEventArgs()

Creates a new instance of LongOperationEventArgs with default properties (Complete=0, CanCancel=false).

Declaration
public LongOperationEventArgs()
Public Sub New()

LongOperationEventArgs(double)

Creates a new instance of LongOperationEventArgs with the specified complete value and CanCancel=false.

Declaration
public LongOperationEventArgs(double complete)
Public Sub New(complete As Double)
Parameters
Type Name Description
double complete

How much is complete (from 0 to 1).

LongOperationEventArgs(double, bool)

Creates a new instance of LongOperationEventArgs with the specified complete and CanCancel values.

Declaration
public LongOperationEventArgs(double complete, bool canCancel)
Public Sub New(complete As Double, canCancel As Boolean)
Parameters
Type Name Description
double complete

How much is complete (from 0 to 1).

bool canCancel

Whether the operation can be cancelled.

LongOperationEventArgs(bool)

Creates a new instance of LongOperationEventArgs with the specified CanCancel value and Complete=0.

Declaration
public LongOperationEventArgs(bool canCancel)
Public Sub New(canCancel As Boolean)
Parameters
Type Name Description
bool canCancel

Whether the operation can be cancelled.