public void ClearAll()
        {
            try
            {
                _listener.ClearNotifications();
            }

            catch (Exception ex)
            {
                ShowMessage(ex.ToString(), "Failed to clear all");
            }

            UpdateNotifications();
        }
示例#2
0
 private void ClearAll_Click(object sender, RoutedEventArgs e)
 {
     listener.ClearNotifications();
     Debug.WriteLine("Уведомления очищены");
 }