C# Class NanoByte.Common.Tasks.DialogTaskHandler

Uses simple GTK# dialog boxes to inform the user about the progress of tasks.
Inheritance: GuiTaskHandlerBase
Afficher le fichier Open project: nano-byte/common Class Usage Examples

Méthodes publiques

Méthode Description
DialogTaskHandler ( [ owner = null ) : System

Creates a new task handler.

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

Méthodes protégées

Méthode Description
Ask ( string question, MsgSeverity severity ) : bool

Method Details

Ask() protected méthode

protected Ask ( string question, MsgSeverity severity ) : bool
question string
severity MsgSeverity
Résultat bool

DialogTaskHandler() public méthode

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

Error() public méthode

public Error ( Exception exception ) : void
exception System.Exception
Résultat void

Output() public méthode

public Output ( string title, string message ) : void
title string
message string
Résultat void

RunTask() public méthode

public RunTask ( ITask task ) : void
task ITask
Résultat void