Наследование: System.EventArgs
Пример #1
0
 private void NewMessageDisplay(object sender, MessageEventArgs e)
 {
     if (m_showDisplay)
         Invoke((MethodInvoker)(() =>
         {
             PrintMessageFrom(e.Message, e.Sender);
         }));
 }
Пример #2
0
 private void NewMessageIntercept(object sender, MessageEventArgs e)
 {
     if (m_showIntercept)
         Invoke((MethodInvoker)(() =>
         {
             PrintMessageFrom(e.Message, e.Sender);
         }));
 }
Пример #3
0
 private void avatar_NewMessage(object sender, MessageEventArgs e)
 {
     NewMessage(this, e);
 }