[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.LongOperationEventArgs.-ctor

LongOperationEventArgs Constructor

LongOperationEventArgs()

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

Declaration
public LongOperationEventArgs()

LongOperationEventArgs(float)

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

Declaration
public LongOperationEventArgs(float complete)
Parameters
Type Name Description
float complete

How much is complete (from 0 to 1).

LongOperationEventArgs(float, bool)

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

Declaration
public LongOperationEventArgs(float complete, bool canCancel)
Parameters
Type Name Description
float complete

How much is complete (from 0 to 1).

bool canCancel

Whether the operation can be canceled.

LongOperationEventArgs(bool)

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

Declaration
public LongOperationEventArgs(bool canCancel)
Parameters
Type Name Description
bool canCancel

Whether the operation can be canceled.