Class ProgressForm
Inheritance
ProgressForm
Implements
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class ProgressForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ProgressForm.ITaskProgressShow
Constructors
ProgressForm()
Declaration
public ProgressForm()
Methods
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | true if managed resources should be disposed; otherwise, false. |
Overrides
Show(Task, Action, Control, CancellationTokenSource, SetProgressCallback)
Declaration
public static Task Show(Task ntask, Action FinishCallBack, Control parent, CancellationTokenSource cancelSource, ProgressForm.SetProgressCallback callback)
Parameters
| Type | Name | Description |
|---|---|---|
| Task | ntask | |
| Action | FinishCallBack | |
| Control | parent | |
| CancellationTokenSource | cancelSource | |
| ProgressForm.SetProgressCallback | callback |
Returns
| Type | Description |
|---|---|
| Task |
ShowProgress(int, int)
Declaration
public void ShowProgress(int current, int total)
Parameters
| Type | Name | Description |
|---|---|---|
| int | current | |
| int | total |