void EventSource_OnChat(object sender, Client.OnChatEventArgs e) { string from = e.User == null ? "Unknown" : e.User.Nickname; Dispatcher.BeginInvoke(new Action <string>(AddToLog), string.Format("{0}: {1}", from, e.Text)); }
private void EventSource_OnChat(object sender, Client.OnChatEventArgs e) { InvokeFlash(); }