C# 클래스 NanoByte.Common.Tasks.DialogTaskHandler

Uses simple GTK# dialog boxes to inform the user about the progress of tasks.
상속: GuiTaskHandlerBase
파일 보기 프로젝트 열기: nano-byte/common 1 사용 예제들

공개 메소드들

메소드 설명
DialogTaskHandler ( [ owner = null ) : System

Creates a new task handler.

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

보호된 메소드들

메소드 설명
Ask ( string question, MsgSeverity severity ) : bool

메소드 상세

Ask() 보호된 메소드

protected Ask ( string question, MsgSeverity severity ) : bool
question string
severity MsgSeverity
리턴 bool

DialogTaskHandler() 공개 메소드

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

Error() 공개 메소드

public Error ( Exception exception ) : void
exception System.Exception
리턴 void

Output() 공개 메소드

public Output ( string title, string message ) : void
title string
message string
리턴 void

RunTask() 공개 메소드

public RunTask ( ITask task ) : void
task ITask
리턴 void