C# Class NanoByte.Common.Tasks.DialogTaskHandler

Uses simple GTK# dialog boxes to inform the user about the progress of tasks.
Inheritance: GuiTaskHandlerBase
ファイルを表示 Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
DialogTaskHandler ( [ owner = null ) : System

Creates a new task handler.

Error ( Exception exception ) : void
Output ( string title, string message ) : void
RunTask ( ITask task ) : void

Protected Methods

Method Description
Ask ( string question, MsgSeverity severity ) : bool

Method Details

Ask() protected method

protected Ask ( string question, MsgSeverity severity ) : bool
question string
severity MsgSeverity
return bool

DialogTaskHandler() public method

Creates a new task handler.
public DialogTaskHandler ( [ owner = null ) : System
owner [ The parent window for any dialogs created by the handler.
return System

Error() public method

public Error ( Exception exception ) : void
exception System.Exception
return void

Output() public method

public Output ( string title, string message ) : void
title string
message string
return void

RunTask() public method

public RunTask ( ITask task ) : void
task ITask
return void