Пример #1
0
 public void RemoveActivity(int id)
 {
     try
     {
         Activity_db.RemoveActvity(id);
     }
     catch (Exception e)
     {
         MessageBox.Show("There was an error adding to the Database \n" + e, "Database Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }