From 68eb6e95c6611bafa8a820ad3f8c123a351a9be9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 25 Feb 2017 14:46:16 -0500 Subject: Button for marking all notes as read. --- ShiftOS.WinForms/Applications/Notifications.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ShiftOS.WinForms/Applications/Notifications.cs') diff --git a/ShiftOS.WinForms/Applications/Notifications.cs b/ShiftOS.WinForms/Applications/Notifications.cs index 6fb659d..3ce3e58 100644 --- a/ShiftOS.WinForms/Applications/Notifications.cs +++ b/ShiftOS.WinForms/Applications/Notifications.cs @@ -242,5 +242,10 @@ namespace ShiftOS.WinForms.Applications public void OnUpgrade() { } + + private void btnmarkallread_Click(object sender, EventArgs e) + { + NotificationDaemon.MarkAllRead(); + } } } -- cgit v1.2.3