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