private void buttonConfirmAddPart_Click(object sender, EventArgs e) { BDD UnEvent = new BDD(); UnEvent.InsertParticipant(idAdh, idEvent, 0); Close(); }
private void buttonConfirmAjoutNA_Click(object sender, EventArgs e) { BDD UnEvent = new BDD(); UnEvent.InsertNA(nomNA, prenomNA, telNA, idEvent); NonAdherent NA = UnEvent.ReadNA(telNA, idEvent); UnEvent.InsertParticipant(0, idEvent, NA.id); Close(); }