C# Class DroidExplorer.Plugins.UI.ShellConsole

Inheritance: DroidExplorer.Core.UI.PluginForm, IShellProcess
Mostra file Open project: camalot/droidexplorer Class Usage Examples

Public Methods

Method Description
Run ( string command ) : void

Runs the specified command.

ShellConsole ( IPluginHost pluginHost ) : System

Initializes a new instance of the ShellConsole class.

StartProcess ( string command, string args ) : void
StopProcess ( ) : void
WriteInput ( string input ) : void
WriteOutput ( string output ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnActivated ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Activated event.

OnClosing ( CancelEventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Closing event.

OnEnter ( EventArgs e ) : void

Raises the E:System.Windows.Forms.Control.Enter event.

OnPaint ( PaintEventArgs e ) : void

OnResize ( EventArgs e ) : void

OnValidating ( CancelEventArgs e ) : void

Raises the E:System.Windows.Forms.Control.Validating event.

Private Methods

Method Description
InitializeComponent ( ) : void

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

SetStatusLabelText ( ToolStripStatusLabel label, string text ) : void

Sets the status label text.

shell_OnProcessExit ( object sender, Core args ) : void

Method Details

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

OnActivated() protected method

Raises the E:System.Windows.Forms.Form.Activated event.
protected OnActivated ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnClosing() protected method

Raises the E:System.Windows.Forms.Form.Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs A that contains the event data.
return void

OnEnter() protected method

Raises the E:System.Windows.Forms.Control.Enter event.
protected OnEnter ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnValidating() protected method

Raises the E:System.Windows.Forms.Control.Validating event.
protected OnValidating ( CancelEventArgs e ) : void
e CancelEventArgs A that contains the event data.
return void

Run() public method

Runs the specified command.
public Run ( string command ) : void
command string The command.
return void

ShellConsole() public method

Initializes a new instance of the ShellConsole class.
public ShellConsole ( IPluginHost pluginHost ) : System
pluginHost IPluginHost
return System

StartProcess() public method

public StartProcess ( string command, string args ) : void
command string
args string
return void

StopProcess() public method

public StopProcess ( ) : void
return void

WriteInput() public method

public WriteInput ( string input ) : void
input string
return void

WriteOutput() public method

public WriteOutput ( string output ) : void
output string
return void