C# Class BF2Statistics.TaskProgressUpdate

This class is used to post updated progress to the TaskForm, allowing the form's progressbar and text fields to be changed as progress updates.
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Méthodes publiques

Свойство Type Description
HeaderText string
IncrementProgress bool
MessageText string
ProgressPercent int
WindowTitle string

Méthodes publiques

Méthode Description
TaskProgressUpdate ( ) : System

Creates a new instance of TaskProgressUpdate

TaskProgressUpdate ( int ProgressPercent, bool IncrementPercent = false ) : System

Creates a new instance of TaskProgressUpdate

TaskProgressUpdate ( string MessageText ) : System

Creates a new instance of TaskProgressUpdate

TaskProgressUpdate ( string MessageText, int ProgressPercent, bool IncrementPercent = false ) : System

Creates a new instance of TaskProgressUpdate

TaskProgressUpdate ( string MessageText, string HeaderText ) : System

Creates a new instance of TaskProgressUpdate

TaskProgressUpdate ( string MessageText, string HeaderText, int ProgressPercent, bool IncrementPercent = false ) : System

Creates a new instance of TaskProgressUpdate

Method Details

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( ) : System
Résultat System

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( int ProgressPercent, bool IncrementPercent = false ) : System
ProgressPercent int Sets the progress percentage of the TaskForm's progress bar
IncrementPercent bool /// If set to true, then is Incremented onto the progressbar's current percentage ///
Résultat System

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( string MessageText ) : System
MessageText string Sets the content status message of the TaskForm
Résultat System

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( string MessageText, int ProgressPercent, bool IncrementPercent = false ) : System
MessageText string Sets the content status message of the TaskForm
ProgressPercent int Sets the progress percentage of the TaskForm's progress bar
IncrementPercent bool /// If set to true, then is Incremented onto the progressbar's current percentage ///
Résultat System

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( string MessageText, string HeaderText ) : System
MessageText string Sets the content status message of the TaskForm
HeaderText string Sets the Instruction (header) text of the TaskForm
Résultat System

TaskProgressUpdate() public méthode

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( string MessageText, string HeaderText, int ProgressPercent, bool IncrementPercent = false ) : System
MessageText string Sets the content status message of the TaskForm
HeaderText string Sets the Instruction (header) text of the TaskForm
ProgressPercent int Sets the progress percentage of the TaskForm's progress bar
IncrementPercent bool /// If set to true, then is Incremented onto the progressbar's current percentage ///
Résultat System

Property Details

HeaderText public_oe property

Sets the Instruction Text of the TaskForm
public string HeaderText
Résultat string

IncrementProgress public_oe property

Gets or Sets whether the progress bar is set, or incremented from its current value
public bool IncrementProgress
Résultat bool

MessageText public_oe property

Sets the Content Message Text of the TaskForm
public string MessageText
Résultat string

ProgressPercent public_oe property

Sets the Progress Bar Percentage of the TaskForm
public int ProgressPercent
Résultat int

WindowTitle public_oe property

Sets the Window Title of the TaskForm
public string WindowTitle
Résultat string