C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
HeaderText string
IncrementProgress bool
MessageText string
ProgressPercent int
WindowTitle string

Открытые методы

Метод Описание
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

Описание методов

TaskProgressUpdate() публичный Метод

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( ) : System
Результат System

TaskProgressUpdate() публичный Метод

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 ///
Результат System

TaskProgressUpdate() публичный Метод

Creates a new instance of TaskProgressUpdate
public TaskProgressUpdate ( string MessageText ) : System
MessageText string Sets the content status message of the TaskForm
Результат System

TaskProgressUpdate() публичный Метод

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 ///
Результат System

TaskProgressUpdate() публичный Метод

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
Результат System

TaskProgressUpdate() публичный Метод

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 ///
Результат System

Описание свойств

HeaderText публичное свойство

Sets the Instruction Text of the TaskForm
public string HeaderText
Результат string

IncrementProgress публичное свойство

Gets or Sets whether the progress bar is set, or incremented from its current value
public bool IncrementProgress
Результат bool

MessageText публичное свойство

Sets the Content Message Text of the TaskForm
public string MessageText
Результат string

ProgressPercent публичное свойство

Sets the Progress Bar Percentage of the TaskForm
public int ProgressPercent
Результат int

WindowTitle публичное свойство

Sets the Window Title of the TaskForm
public string WindowTitle
Результат string