示例#1
0
        private void buttonConfirmAddPart_Click(object sender, EventArgs e)
        {
            BDD UnEvent = new BDD();

            UnEvent.InsertParticipant(idAdh, idEvent, 0);
            Close();
        }
示例#2
0
        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();
        }