Class TaskControl
Combines a TaskProgressBar and a TaskLabel.
public sealed class TaskControl : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IProgress<TaskSnapshot>
- Inheritance
-
objectMarshalByRefObjectTaskControl
- Implements
- Inherited Members
- Extension Methods
Constructors
TaskControl()
Creates a new task tracking control.
public TaskControl()
Properties
TaskName
The name of the task being tracked.
public string TaskName { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed; otherwise, false.
Report(TaskSnapshot)
Reports a progress update.
public void Report(TaskSnapshot value)
Parameters
valueTaskSnapshotThe value of the updated progress.