C# 클래스 FdoToolbox.Base.Forms.ProgressDialog

Generic progress dialog
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
actionBaseText string
actionText string

공개 메소드들

메소드 설명
SetMax ( int max ) : void

Sets the maximum value. If the maximum is less than or equal to 0, then the progress animation will become marquee.

SetMessage ( string message ) : void

Sets the message of the progress dialog

SetTitle ( string title ) : void

Sets the title of the progress dialog

SetValue ( int value ) : void

Sets the number of items processed

Show ( int max, bool canCancel ) : void

Shows the progress dialog

Stop ( ) : void

Stops and closes the progress dialog

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

LaunchForm ( ) : void
ProgressDialog ( ) : System
btnCancel_Click ( object sender, EventArgs e ) : 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

SetMax() 공개 정적인 메소드

Sets the maximum value. If the maximum is less than or equal to 0, then the progress animation will become marquee.
public static SetMax ( int max ) : void
max int The max.
리턴 void

SetMessage() 공개 정적인 메소드

Sets the message of the progress dialog
public static SetMessage ( string message ) : void
message string The message.
리턴 void

SetTitle() 공개 정적인 메소드

Sets the title of the progress dialog
public static SetTitle ( string title ) : void
title string The title.
리턴 void

SetValue() 공개 정적인 메소드

Sets the number of items processed
public static SetValue ( int value ) : void
value int The value.
리턴 void

Show() 공개 정적인 메소드

Shows the progress dialog
public static Show ( int max, bool canCancel ) : void
max int The maximum value. If less than or equal to 0, the progress bar will use the marquee animation
canCancel bool if set to true, the user can cancel the operation. In this case, the must be handled
리턴 void

Stop() 공개 정적인 메소드

Stops and closes the progress dialog
public static Stop ( ) : void
리턴 void

프로퍼티 상세

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

text which is shown in front of the numbers; e.g. actionText 102/999
public static string actionBaseText
리턴 string

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

text which can be shown as action which is done at the moment
public static string actionText
리턴 string