C# Класс BuildTools.BuildTools

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AppendRawText ( string text ) : void

Send one line of text to the output textbox, with no "---" prefix. A newline will be added to the end of the line.

AppendText ( string text ) : void

Append text to the output textbox. This method will ensure thread safety on the AppendText method call. This will also prefix a "--- " before the given text and automatically append the given text with a new-line character.

BuildTools ( Guid guid, Job job ) : System

Constructor for the form

Progress ( int place, int total ) : void

Set the progress bar to the specified place.

ProgressHide ( ) : void

Hide the progress bar so it won't be visible

ProgressIndeterminate ( ) : void

Set the progress bar's state to indeterminate.

ProgressShow ( ) : void

Show the progress bar. This needs to be done before other calls are made to it.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
BuildTools_FormClosed ( object sender, FormClosedEventArgs e ) : void
Disable ( ) : void

Disable the run buttons so they can't be pressed while work is being done.

Enable ( ) : void

Enable the run buttons so they will work after work has completed

GetHtml ( string url ) : string
GetVersions ( ) : void
GetWindowThreadProcessId ( IntPtr hWnd, uint &lpdwProcessId ) : uint
InitializeComponent ( ) : void

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

UpdateVersions ( ) : void
autoUpdateCB_Click ( object sender, EventArgs e ) : void
clearBT_Click ( object sender, EventArgs e ) : void
linkLabel_Click ( object sender, LinkLabelLinkClickedEventArgs e ) : void
runBT_Click ( object sender, EventArgs e ) : void
undoBT_Click ( object sender, EventArgs e ) : void
updateBT_Click ( object sender, EventArgs e ) : void

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

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

Send one line of text to the output textbox, with no "---" prefix. A newline will be added to the end of the line.
public AppendRawText ( string text ) : void
text string Text to append to the output textbox.
Результат void

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

Append text to the output textbox. This method will ensure thread safety on the AppendText method call. This will also prefix a "--- " before the given text and automatically append the given text with a new-line character.
public AppendText ( string text ) : void
text string Text to append to the output textbox.
Результат void

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

Constructor for the form
public BuildTools ( Guid guid, Job job ) : System
guid Guid
job Job
Результат System

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

Set the progress bar to the specified place.
public Progress ( int place, int total ) : void
place int Current progress to this point
total int Total progress to completion
Результат void

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

Hide the progress bar so it won't be visible
public ProgressHide ( ) : void
Результат void

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

Set the progress bar's state to indeterminate.
public ProgressIndeterminate ( ) : void
Результат void

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

Show the progress bar. This needs to be done before other calls are made to it.
public ProgressShow ( ) : void
Результат void