C# Класс DroidExplorer.Plugins.UI.ShellConsole

Наследование: DroidExplorer.Core.UI.PluginForm, IShellProcess
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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.

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

Метод Описание
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

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

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

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

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

Raises the E:System.Windows.Forms.Form.Activated event.
protected OnActivated ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Результат void

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

Raises the E:System.Windows.Forms.Form.Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs A that contains the event data.
Результат void

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

Raises the E:System.Windows.Forms.Control.Enter event.
protected OnEnter ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Результат void

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

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A that contains the event data.
Результат void

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

protected OnResize ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
Результат void

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

Raises the E:System.Windows.Forms.Control.Validating event.
protected OnValidating ( CancelEventArgs e ) : void
e CancelEventArgs A that contains the event data.
Результат void

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

Runs the specified command.
public Run ( string command ) : void
command string The command.
Результат void

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

Initializes a new instance of the ShellConsole class.
public ShellConsole ( IPluginHost pluginHost ) : System
pluginHost IPluginHost
Результат System

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

public StartProcess ( string command, string args ) : void
command string
args string
Результат void

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

public StopProcess ( ) : void
Результат void

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

public WriteInput ( string input ) : void
input string
Результат void

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

public WriteOutput ( string output ) : void
output string
Результат void