private void TypeComboBOX1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TypeComboBOX1.SelectedValue.ToString() == "1" /*etudiant*/)
     {
         CIN.Show();
         label2.Text           = "N° d'inscription";
         Identifiantlabel.Text = "N° d'inscription";
         Filier.Show();
     }
     else
     if (TypeComboBOX1.SelectedValue.ToString() == "3" /*prof*/)
     {
         CIN.Hide();
         label2.Text           = "CIN";
         Identifiantlabel.Text = "CIN";
         Filier.Show();
     }
     else     /*Extern*/
     {
         CIN.Hide();
         label2.Text           = "CIN";
         Identifiantlabel.Text = "CIN";
         Filier.Hide();
     }
 }
 private void TypeComboBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     CinTXT.Text = "";
     if (TypeComboBox.SelectedValue.ToString() == "1" /*etudiant*/)
     {
         CIN.Show();
         Identifiant.Text = "N° d'inscription";
         Filier.Show();
     }
     else
     if (TypeComboBox.SelectedValue.ToString() == "3" /*prof*/)
     {
         CIN.Hide();
         Identifiant.Text = "CIN";
         Filier.Show();
     }
     else     /*Extern*/
     {
         FilierComboBox.SelectedValue = "NAN";
         CIN.Hide();
         Identifiant.Text = "CIN";
         Filier.Hide();
     }
 }