Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / WorkUnit Class / UpdateProgress Method / UpdateProgress(Double,Double,String,BackgroundWorker,Boolean) Method
The current step
The total number of steps
The progress bar text
The background worker thread
When true the event is always fired. Must be used with caution!

In This Topic
    UpdateProgress(Double,Double,String,BackgroundWorker,Boolean) Method
    In This Topic
    Updates the progress bar value.
    Syntax
    'Declaration
     
    Protected Friend Overloads Sub UpdateProgress( _
       ByVal current As Double, _
       ByVal total As Double, _
       ByVal text As String, _
       ByVal worker As BackgroundWorker, _
       Optional ByVal forceUpdate As Boolean _
    ) 
    protected internal void UpdateProgress( 
       double current,
       double total,
       string text,
       BackgroundWorker worker,
       bool forceUpdate
    )

    Parameters

    current
    The current step
    total
    The total number of steps
    text
    The progress bar text
    worker
    The background worker thread
    forceUpdate
    When true the event is always fired. Must be used with caution!
    See Also