Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
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 | |
return | void |
public AppendLineToChatHistory ( string message ) : void | ||
message | string | |
return | void |
public ChatAppWPF ( System.Windows.Controls.TextBlock chatHistory, |
||
chatHistory | System.Windows.Controls.TextBlock | |
scroller | ||
messagesFrom | ||
messagesText | ||
return | 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 | |
return | void |