[]
        
(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()
Public Sub New()

LongOperationEventArgs(float)

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

Declaration
public LongOperationEventArgs(float complete)
Public Sub New(complete As Single)
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)
Public Sub New(complete As Single, canCancel As Boolean)
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)
Public Sub New(canCancel As Boolean)
Parameters
Type Name Description
bool canCancel

Whether the operation can be canceled.