C# 클래스 KFreonLib.GUI.ProgressBarChanger

Provides threadsafe methods for changing ToolStripProgressBars, incl Incrementing and setting Value and Maximum properties.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 메소드들

메소드 설명
ChangeProgressBar ( int start, int end = -1 ) : void

Sets Value and Maximum properties of targeted ProgressBar.

IncrementBar ( int amount = 1 ) : void

Increments targeted ProgressBar.

ProgressBarChanger ( ToolStrip strip, System.Windows.Forms.ToolStripProgressBar progbar ) : System

Contructor.

메소드 상세

ChangeProgressBar() 공개 메소드

Sets Value and Maximum properties of targeted ProgressBar.
public ChangeProgressBar ( int start, int end = -1 ) : void
start int Value to set Value property to. i.e. Current value.
end int Value to set Maximum property to. i.e. Number of increments in bar.
리턴 void

IncrementBar() 공개 메소드

Increments targeted ProgressBar.
public IncrementBar ( int amount = 1 ) : void
amount int Optional. Amount to increment bar by. Defaults to 1.
리턴 void

ProgressBarChanger() 공개 메소드

Contructor.
public ProgressBarChanger ( ToolStrip strip, System.Windows.Forms.ToolStripProgressBar progbar ) : System
strip System.Windows.Forms.ToolStrip Base strip object for correct invoking.
progbar System.Windows.Forms.ToolStripProgressBar ProgressBar to be targeted.
리턴 System