private void naviguer()
        {
            c                  = Program.candidats[p];
            txt_num.Text       = c.Num.ToString();
            txt_nom.Text       = c.Nom.ToString();
            txt_prenom.Text    = c.Prenom.ToString();
            cc_bac.Checked     = c.Bac;
            cc_licence.Checked = c.Licence;
            cc_master.Checked  = c.Master;

            string sf = c.Sf;

            switch (sf)
            {
            case "C":
                rb_celib.Checked = true;
                break;

            case "M":
                rb_marie.Checked = true;
                break;

            case "D":
                rb_div.Checked = true;
                break;
            }
        }
        private void bt_ajouter_Click(object sender, EventArgs e)
        {
            c = new Candidat(int.Parse(txt_num.Text), txt_nom.Text, txt_prenom.Text, cc_bac.Checked, cc_licence.Checked, cc_master.Checked, SF());
            Program.candidats.Add(c);

            vider();
        }