private void NewMessageDisplay(object sender, MessageEventArgs e) { if (m_showDisplay) Invoke((MethodInvoker)(() => { PrintMessageFrom(e.Message, e.Sender); })); }
private void NewMessageIntercept(object sender, MessageEventArgs e) { if (m_showIntercept) Invoke((MethodInvoker)(() => { PrintMessageFrom(e.Message, e.Sender); })); }
private void avatar_NewMessage(object sender, MessageEventArgs e) { NewMessage(this, e); }