private void EditParticipantsDropOut_Click(object sender, EventArgs e) { if (GetSelectedID(participantsDropOutList) != -1) { ParticipantDropOut P = DBLayer.ParticipantsDropOut.Read(GetSelectedID(participantsDropOutList), E.Number); DialogParticipantsDropOut dialog = new DialogParticipantsDropOut(E, P); dialog.Show(); } }
private void AddParticipantsDropOut_Click(object sender, EventArgs e) { DialogParticipantsDropOut dialog = new DialogParticipantsDropOut(E); dialog.Show(); }