Exemple #1
0
 public ChatMessage(ChatMessageItem message)
 {
     this.message = message;
 }
Exemple #2
0
 /// <summary>Creates a HTML writable object from a ChatMessageItem</summary>
 /// <param name="item"></param>
 public GuiMessageItem(ChatMessageItem item)
 {
     timeStamp = item.Time;
     nickName  = item.FromUser.Nick;
     message   = item.ChatMessage;
 }
Exemple #3
0
        /// <summary>Formats and writes the text on a Chat Event to the GUI</summary>
        /// <param name="chatMessageItem">The chat message item that was received</param>
        public void OnChatMessageArrived(ChatMessageItem chatMessageItem)
        {
            var chatMessage = new ChatMessage(chatMessageItem);

            AppendHTMLToWebBrowser(chatWebBrowser, chatMessage);
        }