C# Класс Net.Bertware.Bukkitgui2.Controls.ConsoleInput.ConsoleInput

Наследование: MetroFramework.Controls.MetroTextBox
Показать файл Открыть проект

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

Метод Описание
AddAutocompleteSource ( AutoCompleteSourceDelegate d ) : void
ConsoleInput ( ) : System

Add event handlers on creation

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

Метод Описание
OnCommandSent ( string s ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

Override default key handling to catch tab keys, and run autocompletion upon tab press.

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

Метод Описание
AutoComplete ( ) : void

Auto complete a player name or command (if there's 1 option) or show a list of possibilities

AutoCompleteFromContextMenu ( object sender, EventArgs e ) : void

Auto complete a command or name from the context menu

HandleKeyUp ( object sender, KeyEventArgs e ) : void

Handle a keypress

HistoryGoDown ( ) : void
HistoryGoUp ( ) : void
ProcessHandler_ServerStarted ( ) : void

Gain focus on server start

ResetContextMenu ( ) : void

Reset the context menu

SubmitCommand ( ) : void

Raise the commandsent event and reset the text

getAutoCompleteContent ( ) : List

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

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

public AddAutocompleteSource ( AutoCompleteSourceDelegate d ) : void
d AutoCompleteSourceDelegate
Результат void

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

Add event handlers on creation
public ConsoleInput ( ) : System
Результат System

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

protected OnCommandSent ( string s ) : void
s string
Результат void

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

Override default key handling to catch tab keys, and run autocompletion upon tab press.
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
Результат bool