private void OnNotification(string notification) { if (Notification != null) { var args = new NotificationEventArgs(notification); Notification.BeginInvoke(this, args, null, null); } }
void Progress_Notification(object sender, NotificationEventArgs e) { Log(e.Notification); }