Exemple #1
0
 protected virtual void OnGlobalMessageReceived(NotificationEventArgs e)
 {
     if (GlobalMessageReceived != null)
         GlobalMessageReceived(this, e);
 }
 void HandleGlobalMessageReceived(object sender, NotificationEventArgs e)
 {
     AddNotification(e.Message);
 }