private void deleteMatchButton_Click_1(object sender, EventArgs e)
 {
     try
     {
         if (MessageBox.Show("Are you sure, that you want to delete this match?", "Match Database", MessageBoxButtons.YesNo) == DialogResult.Yes)
         {
             if (!connectionWithDatabase.isConnected())
             {
                 connectionWithDatabase.OpenConnection();
             }
             connectionWithDatabase.removeMatch(removeMatchListBox);
             MessageBox.Show("Succesfully removed this match.");
         }
     }
     catch (Exception es)
     {
         MessageBox.Show("Error 404 in adding Team. Check DataBaseConnection \r\n" + es.Message + "\r\n" + es.InnerException.Message);
     }
     finally
     {
         connectionWithDatabase.CloseConnection();
     }
 }