C# 클래스 BF2Statistics.TaskForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Progress IProgress

보호된 프로퍼티들

프로퍼티 타입 설명
Cancelable bool

공개 메소드들

메소드 설명
CloseForm ( ) : void

Closes the Task dialog, and clears the Cancelled event handle subscriptions

Show ( Form Parent, string WindowTitle, string InstructionText, ProgressBarStyle Style, int Steps ) : void

Open and displays the task form.

Show ( Form Parent, string WindowTitle, string InstructionText, bool Cancelable ) : void

Open and displays the task form.

Show ( Form Parent, string WindowTitle, string InstructionText, bool Cancelable, ProgressBarStyle Style, int Steps ) : void

Open and displays the task form.

Show ( Form Parent, string WindowTitle, string InstructionText, string SubMessage, bool Cancelable, ProgressBarStyle Style, int ProgressBarSteps ) : void

Open and displays the task form.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CancelBtn_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ProgressChanged ( TaskProgressUpdate e ) : void

Updates the TaskForm controls after a Progress.Report() has been recieved

TaskForm ( ) : System

Private constructor... Use the Show() method rather

TaskForm_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

메소드 상세

CloseForm() 공개 정적인 메소드

Closes the Task dialog, and clears the Cancelled event handle subscriptions
public static CloseForm ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Show() 공개 정적인 메소드

Open and displays the task form.
Thrown if the Task form is already open and running. Use the IsOpen property /// to determine if the form is already running
public static Show ( Form Parent, string WindowTitle, string InstructionText, ProgressBarStyle Style, int Steps ) : void
Parent System.Windows.Forms.Form The calling form, so the task form can be centered
WindowTitle string The task dialog window title
InstructionText string Instruction text displayed after the info icon. Leave null /// to hide the instruction text and icon.
Style ProgressBarStyle The progress bar style
Steps int
리턴 void

Show() 공개 정적인 메소드

Open and displays the task form.
Thrown if the Task form is already open and running. Use the IsOpen property /// to determine if the form is already running
public static Show ( Form Parent, string WindowTitle, string InstructionText, bool Cancelable ) : void
Parent System.Windows.Forms.Form The calling form, so the task form can be centered
WindowTitle string The task dialog window title
InstructionText string Instruction text displayed after the info icon. Leave null /// to hide the instruction text and icon.
Cancelable bool Specifies whether the operation can be canceled
리턴 void

Show() 공개 정적인 메소드

Open and displays the task form.
Thrown if the Task form is already open and running. Use the IsOpen property /// to determine if the form is already running
public static Show ( Form Parent, string WindowTitle, string InstructionText, bool Cancelable, ProgressBarStyle Style, int Steps ) : void
Parent System.Windows.Forms.Form The calling form, so the task form can be centered
WindowTitle string The task dialog window title
InstructionText string Instruction text displayed after the info icon. Leave null /// to hide the instruction text and icon.
Cancelable bool Specifies whether the operation can be canceled
Style ProgressBarStyle The progress bar style
Steps int
리턴 void

Show() 공개 정적인 메소드

Open and displays the task form.
Thrown if the Task form is already open and running. Use the IsOpen property /// to determine if the form is already running
public static Show ( Form Parent, string WindowTitle, string InstructionText, string SubMessage, bool Cancelable, ProgressBarStyle Style, int ProgressBarSteps ) : void
Parent System.Windows.Forms.Form The calling form, so the task form can be centered
WindowTitle string The task dialog window title
InstructionText string Instruction text displayed after the info icon. Leave null /// to hide the instruction text and icon.
SubMessage string Detail text that is displayed just above the progress bar
Cancelable bool Specifies whether the operation can be canceled
Style ProgressBarStyle The progress bar style
ProgressBarSteps int
리턴 void

프로퍼티 상세

Cancelable 보호되어 있는 프로퍼티

Gets or Sets whether the task is cancelable
protected bool Cancelable
리턴 bool

Progress 공개적으로 정적으로 프로퍼티

A progress object that is used to report progress to the TaskForm and update the GUI
public static IProgress Progress
리턴 IProgress