private void button1_Click(object sender, EventArgs e)
        {
            Participant     participant     = new Participant();
            EditParticipant editParticipant = new EditParticipant(participant, concertArray);

            if (editParticipant.ShowDialog() == DialogResult.OK)
            {
                AddParticipantToDb(participant);
                participants.Add(participant);
                displayParticipants();
            }
        }
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (dgvParticipants.SelectedRows.Count == 1)
     {
         Participant     participant = (Participant)dgvParticipants.SelectedRows[0].Tag;
         EditParticipant editForm    = new EditParticipant(participant, concertArray);
         if (editForm.ShowDialog() == DialogResult.OK)
         {
             UpdateDatabase(participant);
             displayParticipants();
         }
     }
 }