Exemple #1
0
        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));
        }
Exemple #2
0
 private void EventSource_OnChat(object sender, Client.OnChatEventArgs e)
 {
     InvokeFlash();
 }