Exemplo n.º 1
0
        private void delAdminButton_Click(object sender, EventArgs e)
        {
            PersonneViewModel del = (PersonneViewModel)listeAdmins.SelectedItem;

            ladmins.Remove(del);
            listeAdmins.Items.Refresh();
            ORMPersonne.deletePersonne(selectedAdminId);
        }
Exemplo n.º 2
0
        private void delBeneButton_Click(object sender, EventArgs e)
        {
            PersonneViewModel del = (PersonneViewModel)listeBenevoles.SelectedItem;

            lbene.Remove(del);
            listeBenevoles.Items.Refresh();
            ORMPersonne.deletePersonne(selectedBeneId);
        }