Beispiel #1
0
 protected virtual void OnMessageReceived(MessageEventArgs e)
 {
     if (MessageReceived != null)
         MessageReceived(this, e);
 }
 void HandleMessageReceived(object sender, MessageEventArgs e)
 {
     AddMessage(e.Message);
 }