C# 클래스 GUIUtils.ProgressDialog

A progress dialog, for long operations
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ExecuteWork void
ManageCancel void
ProgressDialog_KeyUp void
Progress_Load void
backgroundWorker1_ProgressChanged void
backgroundWorker1_RunWorkerCompleted void
btnCancel_Click void

공개 메소드들

메소드 설명
ProgressDialog ( string reason, Utils.ProgressHandler work, bool allowCancel = true ) : System

Constructor

UpdateMessage ( string message ) : void

Updates the message displayed to the user

비공개 메소드들

메소드 설명
ExecuteWork ( object arg ) : void

Handles the execution of the task and catches exceptions to open a ShowMessage dialog

ManageCancel ( object sender, DoWorkEventArgs e ) : void

Handles a cancel event

ProgressDialog_KeyUp ( object sender, KeyEventArgs e ) : void

Handles the escape key touch

Progress_Load ( object sender, EventArgs e ) : void
backgroundWorker1_ProgressChanged ( object sender, ProgressChangedEventArgs e ) : void
backgroundWorker1_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Cancel event

메소드 상세

ProgressDialog() 공개 메소드

Constructor
public ProgressDialog ( string reason, Utils.ProgressHandler work, bool allowCancel = true ) : System
reason string
work Utils.ProgressHandler
allowCancel bool
리턴 System

UpdateMessage() 공개 메소드

Updates the message displayed to the user
public UpdateMessage ( string message ) : void
message string
리턴 void