Uses simple WinForms dialog boxes to inform the user about the progress of tasks.
More...
|
| DialogTaskHandler (Control owner) |
| Creates a new task handler. More...
|
|
override void | RunTask (ITask task) |
| Runs an ITask and tracks its progress. Returns once the task has been completed. The task may be executed on a different thread.
|
|
override bool | Ask (string question, bool? defaultAnswer=null, string? alternateMessage=null) |
| Asks the user a Yes/No/Cancel question.
|
|
override void | Output (string title, string message) |
| Displays multi-line text to the user.
|
|
override void | Output< T > (string title, IEnumerable< T > data) |
| Displays tabular data to the user.
|
|
override void | Error (Exception exception) |
| Displays an error message to the user.
|
|
Public Member Functions inherited from NanoByte.Common.Tasks.GuiTaskHandlerBase |
override bool | Ask (string question, bool? defaultAnswer=null, string? alternateMessage=null) |
| Asks the user a Yes/No/Cancel question.
|
|
override void | Output (string title, string message) |
| Displays multi-line text to the user.
|
|
override void | Output< T > (string title, IEnumerable< T > data) |
| Displays tabular data to the user.
|
|
override void | Output< T > (string title, NamedCollection< T > data) |
| Displays tree-like data to the user.
|
|
override void | Error (Exception exception) |
| Displays an error message to the user.
|
|
Public Member Functions inherited from NanoByte.Common.Tasks.TaskHandlerBase |
virtual void | Dispose () |
|
override? object | InitializeLifetimeService () |
|
Uses simple WinForms dialog boxes to inform the user about the progress of tasks.