Ejemplo n.º 1
0
 private void AddEmoteMessage(string mode, string author, int emoteId)
 {
     if (mode != null)
     {
         author = "[" + mode + "]" + author;
     }
     MainWindow.AppendLineToTextBox((_localChatTab.Content as ChatPanel).ChatBox,
                                    "[" + DateTime.Now.ToLongTimeString() + "] " + author + " is " + ChatEmotes.GetDescription(emoteId));
 }
Ejemplo n.º 2
0
 private void AddEmoteMessage(string mode, string author, int emoteId)
 {
     if (mode != null)
     {
         author = "[" + mode + "]" + author;
     }
     ChatPanels["Local"].Text += "[" + DateTime.Now.ToLongTimeString() + "] " + author + " is " + ChatEmotes.GetDescription(emoteId) + Environment.NewLine;
 }