C# 클래스 DroidExplorer.Core.UI.CConsole.ConsoleControl

상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: camalot/droidexplorer 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FireConsoleInputEvent void
FireConsoleOutputEvent void
GetControlHandle System.IntPtr
InitialiseKeyMappings void
InitializeComponent void
InternalDispose void
InvalidateCaret void
ScrollHistory void
ShowHideCaret void
processInterace_OnProcessError void
processInterace_OnProcessExit void
processInterace_OnProcessInput void
processInterace_OnProcessOutput void
richTextBoxConsole_GotFocus void
richTextBoxConsole_HandleCreated void
richTextBoxConsole_KeyDown void
richTextBoxConsole_MouseDown void
richTextBoxConsole_MouseUp void
richTextBoxConsole_SelectionChanged void

공개 메소드들

메소드 설명
ClearOutput ( ) : void

Clears the output.

ConsoleControl ( ) : System

Initializes a new instance of the ConsoleControl class.

StartProcess ( string fileName, string arguments ) : void

Runs a process.

StopProcess ( ) : void

Stops the process.

WriteInput ( string input ) : void
WriteInput ( string input, Color color, bool echo ) : void

Writes the input to the console control.

WriteOutput ( string output ) : void
WriteOutput ( string output, Color color ) : void

Writes the output to the console control.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
FireConsoleInputEvent ( string content ) : void

Fires the console input event.

FireConsoleOutputEvent ( string content ) : void

Fires the console output event.

GetControlHandle ( Control ctrl ) : IntPtr
InitialiseKeyMappings ( ) : void

Initialises the key mappings.

InitializeComponent ( ) : void

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

InternalDispose ( bool disposing ) : void
InvalidateCaret ( ) : void
ScrollHistory ( ) : void
ShowHideCaret ( ) : void
processInterace_OnProcessError ( object sender, ProcessEventArgs args ) : void

Handles the OnProcessError event of the processInterace control.

processInterace_OnProcessExit ( object sender, ProcessEventArgs args ) : void

Handles the OnProcessExit event of the processInterace control.

processInterace_OnProcessInput ( object sender, ProcessEventArgs args ) : void

Handles the OnProcessInput event of the processInterace control.

processInterace_OnProcessOutput ( object sender, ProcessEventArgs args ) : void

Handles the OnProcessOutput event of the processInterace control.

richTextBoxConsole_GotFocus ( object sender, EventArgs e ) : void
richTextBoxConsole_HandleCreated ( object sender, EventArgs e ) : void
richTextBoxConsole_KeyDown ( object sender, KeyEventArgs e ) : void

Handles the KeyDown event of the richTextBoxConsole control.

richTextBoxConsole_MouseDown ( object sender, MouseEventArgs e ) : void
richTextBoxConsole_MouseUp ( object sender, MouseEventArgs e ) : void
richTextBoxConsole_SelectionChanged ( object sender, EventArgs e ) : void

메소드 상세

ClearOutput() 공개 메소드

Clears the output.
public ClearOutput ( ) : void
리턴 void

ConsoleControl() 공개 메소드

Initializes a new instance of the ConsoleControl class.
public ConsoleControl ( ) : System
리턴 System

Dispose() 보호된 메소드

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

StartProcess() 공개 메소드

Runs a process.
public StartProcess ( string fileName, string arguments ) : void
fileName string Name of the file.
arguments string The arguments.
리턴 void

StopProcess() 공개 메소드

Stops the process.
public StopProcess ( ) : void
리턴 void

WriteInput() 공개 메소드

public WriteInput ( string input ) : void
input string
리턴 void

WriteInput() 공개 메소드

Writes the input to the console control.
public WriteInput ( string input, Color color, bool echo ) : void
input string The input.
color Color The color.
echo bool if set to true echo the input.
리턴 void

WriteOutput() 공개 메소드

public WriteOutput ( string output ) : void
output string
리턴 void

WriteOutput() 공개 메소드

Writes the output to the console control.
public WriteOutput ( string output, Color color ) : void
output string The output.
color Color The color.
리턴 void