// DELETE NOTIFICATION button click event
 private void btn_DeleteNotification_Click(object sender, EventArgs e)
 {
     // Send notification to the database to be deleted
     if (cbx_Notifications.SelectedIndex >= 0)
     {
         int returnValue = ApplicationObjects.DeleteNotification(notifications[cbx_Notifications.SelectedIndex].NotificationId);
     }
 }
 // DELETE NOTIFICATION button click event
 private void btn_DeleteNotificaiton_Click(object sender, EventArgs e)
 {   // Send notification to the database to be deleted
     if (cbx_Notifications.SelectedItem != null)
     {
         int returnValue = ApplicationObjects.DeleteNotification(notifications[cbx_Notifications.SelectedIndex].NotificationId);
     }
     else
     {
         MessageBox.Show("Please select a notification before clicking the [delete] button.", "Delete Notification Error",
                         MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }