Méthode | Description | |
---|---|---|
FormGitRun ( string cmd, string args ) : System |
Class constructor that also pre-sets the command and argument to be run
|
|
GetResult ( ) : |
Returns the result structure from running a job
|
Méthode | Description | |
---|---|---|
ProcessCmdKey ( Message &msg, Keys keyData ) : bool |
When the user presses ESC key, close the dialog, but *only* if the git operation is completed. We need to hook into the key chain and test the completion by checking the button text. The text changes depending on the execution status.
|
Méthode | Description | |
---|---|---|
BtCancelClick ( object sender, EventArgs e ) : void |
User presses a cancel button. This is a multi-function button that starts as "Cancel"...
|
|
CheckAutocloseCheckedChanged ( object sender, EventArgs e ) : void |
User clicked on the autoclose checkbox, changed the checked state Update preferences with the new state
|
|
CopyAction ( object sender, EventArgs e ) : void |
Context menu to copy selected text onto the clipboard
|
|
FormGitRunFormClosing ( object sender, FormClosingEventArgs e ) : void |
Form is closing.
|
|
FormGitRunShown ( object sender, EventArgs e ) : void |
Start running the preset command at the time form is first shown
|
|
PComplete ( |
Callback that handles process completion event
|
|
PStderr ( String message ) : void |
Callback that handles process printing to stderr. Prints the stderr to a log window.
|
|
PStdout ( String message ) : void |
Callback that handles process printing to stdout
|
|
SelectAllAction ( object sender, EventArgs e ) : void |
Context menu to select all text
|
|
StopProgress ( ) : void |
Call this function when the command completed, or is about to complete. It signals to the user the end of command by enabling the text box and stopping the progress indicator.
|
|
TextStdoutMouseUp ( object sender, MouseEventArgs e ) : void |
Context menu for the text box (which is read-only, so we can only select and copy text from it)
|
|
TimerProgressTick ( object sender, EventArgs e ) : void |
Use timer to animate progress indicator.
|
|
textLinkClicked ( object sender, LinkClickedEventArgs e ) : void |
Called when the user clicks on an HTML link inside the output text.
|
public FormGitRun ( string cmd, string args ) : System | ||
cmd | string | |
args | string | |
Résultat | System |
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool | ||
msg | Message | |
keyData | Keys | |
Résultat | bool |