コード例 #1
0
 private void OnNotificationDismissed(object?sender, NotificationDismissedEventArgs e)
 {
     ((IList <string>)_eventsListBox.Items).Add($"Notification dismissed: {e.Reason}");
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: pr8x/DesktopNotifications
 private static void ManagerOnNotificationDismissed(object?sender, NotificationDismissedEventArgs e)
 {
     Console.WriteLine($"Notification dismissed: {e.Reason}");
 }