C# Class ShellControlV2.ShellTextBox

Inheritance: System.Windows.Forms.TextBox
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
GetCommandHistory ( ) : string[]
PrintLine ( ) : void
ShellTextBox ( ) : System.Windows.Forms

Initializes a new instance of the ShellTextBox class.

WriteCommand ( string text ) : void
WriteText ( string text ) : void

Protected Methods

Method Description
WndProc ( Message &m ) : void

Private Methods

Method Description
AddText ( string text ) : void
GetCurrentCaretColumnPosition ( ) : int
GetCurrentLine ( ) : string
GetTextAtPrompt ( ) : string
IsCaretAtCurrentLine ( ) : bool
IsCaretAtWritablePosition ( ) : bool
IsCaretJustBeforePrompt ( ) : bool
IsTerminatorKey ( Keys key ) : bool
IsTerminatorKey ( char keyChar ) : bool
MoveCaretToEndOfText ( ) : void
OnKeyUp ( object sender, KeyEventArgs keyEventArgs ) : void
PreviewKeyDown_event ( object sender, PreviewKeyDownEventArgs e ) : void
PrintPrompt ( ) : void
ReplaceTextAtPrompt ( string text ) : void
SetPromptText ( string val ) : void
ShellControl_KeyDown ( object sender, KeyEventArgs e ) : void
shellTextBox_KeyPress ( object sender, KeyPressEventArgs e ) : void

Method Details

GetCommandHistory() public method

public GetCommandHistory ( ) : string[]
return string[]

PrintLine() public method

public PrintLine ( ) : void
return void

ShellTextBox() public method

Initializes a new instance of the ShellTextBox class.
public ShellTextBox ( ) : System.Windows.Forms
return System.Windows.Forms

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void

WriteCommand() public method

public WriteCommand ( string text ) : void
text string
return void

WriteText() public method

public WriteText ( string text ) : void
text string
return void