private void OnNotificationActivated(object?sender, NotificationActivatedEventArgs e) { ((IList <string>)_eventsListBox.Items).Add($"Notification activated: {e.ActionId}"); }
private static void ManagerOnNotificationActivated(object?sender, NotificationActivatedEventArgs e) { Console.WriteLine($"Notification activated: {e.ActionId}"); }