C# Class BuildTools.BuildTools

Afficher le fichier Open project: DemonWav/BuildToolsGUI Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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.
Résultat void

AppendText() public méthode

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.
Résultat void

BuildTools() public méthode

Constructor for the form
public BuildTools ( Guid guid, Job job ) : System
guid Guid
job Job
Résultat System

Dispose() protected méthode

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

Progress() public méthode

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
Résultat void

ProgressHide() public méthode

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

ProgressIndeterminate() public méthode

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

ProgressShow() public méthode

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