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)); }
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; }