C# Class BuildTools.BuildTools

Show file Open project: DemonWav/BuildToolsGUI Class Usage Examples

Public Methods

Method Description
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.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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

Method Details

AppendRawText() public method

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.
return void

AppendText() public method

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.
return void

BuildTools() public method

Constructor for the form
public BuildTools ( Guid guid, Job job ) : System
guid Guid
job Job
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Progress() public method

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
return void

ProgressHide() public method

Hide the progress bar so it won't be visible
public ProgressHide ( ) : void
return void

ProgressIndeterminate() public method

Set the progress bar's state to indeterminate.
public ProgressIndeterminate ( ) : void
return void

ProgressShow() public method

Show the progress bar. This needs to be done before other calls are made to it.
public ProgressShow ( ) : void
return void