C# Class ShellControlV2.ShellTextBox

Inheritance: System.Windows.Forms.TextBox
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
WndProc ( Message &m ) : void

Private Methods

Méthode 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 méthode

public GetCommandHistory ( ) : string[]
Résultat string[]

PrintLine() public méthode

public PrintLine ( ) : void
Résultat void

ShellTextBox() public méthode

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

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void

WriteCommand() public méthode

public WriteCommand ( string text ) : void
text string
Résultat void

WriteText() public méthode

public WriteText ( string text ) : void
text string
Résultat void