Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / WorkUnit Class
Properties Methods Events


In This Topic
    WorkUnit Class Members
    In This Topic

    The following tables list the members exposed by WorkUnit.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public Property Gets the (last) work execution time in milliseconds.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  Executes the work synchronously.  
    Top
    Protected Methods
     NameDescription
    Protected Internal MethodChecks if the user has requested cancellation of the background operation.  
    Protected Internal Method Resets the progress bar for a parallel loop.  
    Protected Internal Method Start the animation for the continuous progress bar.  
    Protected Internal Method Stop the animation for the continuous progress bar.  
    Protected Internal MethodOverloaded. Updates the progress bar value.  
    Protected Internal Method Updates the progress bar value and checks if the worker thread has been canceled.  
    Protected Internal Method Updates the progress bar value and checks if the worker thread has been canceled, for a parallel loop.  
    Protected Internal Method Updates the progress bar value for a parallel loop.  
    Protected Internal Method Set the progress bar to 100% and forces screen update.  
    Protected Internal Method Called when the work is cancelled.  
    Protected Internal MethodCalled when the work has completed. In the case you are modeling something, the viewportLayout parameter allows you to easily add the model to the entities collection.  
    Protected Internal MethodCalled when the work has failed.  
    Top
    Public Events
     NameDescription
    Public Event Occurs when the DoWork() is called synchronously and the progress has changed.  
    Top
    See Also