Метод | Описание | |
---|---|---|
AppendLineToChatHistory ( System style, string text, bool addNewLine ) : void |
Append the provided message to the chatBox text box including the provided formatting.
|
|
AppendLineToChatHistory ( string message ) : void |
Append the provided message to the chatBox text box.
|
|
ChatAppWPF ( System.Windows.Controls.TextBlock chatHistory, |
Constructor for the WPF chat app.
|
|
ClearChatHistory ( ) : void |
Clear the chat history window
|
|
ClearInputLine ( ) : void |
Clear the text message input box
|
|
RefreshMessagesFromBox ( ) : void |
Refresh the messagesFrom text box using the recent message history.
|
|
ShowMessage ( string message ) : void |
Show a message as an alternative to adding text to chat history
|
Метод | Описание | |
---|---|---|
HandleIncomingChatMessage ( |
Performs whatever functions we might so desire when we receive an incoming ChatMessage
|
public AppendLineToChatHistory ( System style, string text, bool addNewLine ) : void | ||
style | System | |
text | string | |
addNewLine | bool | |
Результат | void |
public AppendLineToChatHistory ( string message ) : void | ||
message | string | |
Результат | void |
public ChatAppWPF ( System.Windows.Controls.TextBlock chatHistory, |
||
chatHistory | System.Windows.Controls.TextBlock | |
scroller | ||
messagesFrom | ||
messagesText | ||
Результат | System |
protected HandleIncomingChatMessage ( |
||
header | The PacketHeader corresponding with the received object | |
connection | The Connection from which this object was received | |
incomingMessage | The incoming ChatMessage we are after | |
Результат | void |
public ShowMessage ( string message ) : void | ||
message | string | |
Результат | void |