public void ClearAll() { try { _listener.ClearNotifications(); } catch (Exception ex) { ShowMessage(ex.ToString(), "Failed to clear all"); } UpdateNotifications(); }
private void ClearAll_Click(object sender, RoutedEventArgs e) { listener.ClearNotifications(); Debug.WriteLine("Уведомления очищены"); }