Table of Contents

Class TaskControl

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

Combines a TaskProgressBar and a TaskLabel.

public sealed class TaskControl : UserControl
Inheritance
TaskControl
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

string

Methods

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Report(TaskSnapshot)

Reports a progress update.

public void Report(TaskSnapshot value)

Parameters

value TaskSnapshot

The value of the updated progress.