public void ChoixMajeure(int ChoixM) { if (ChoixM == 1) { choice.text = "Business Intelligence"; } else if (ChoixM == 2) { choice.text = "Information System & Cloud Computing"; } else if (ChoixM == 3) { choice.text = "Imagerie et Réalité Virtuelle"; } else if (ChoixM == 4) { choice.text = "Big Data"; } else if (ChoixM == 12) { choice.text = "IT for Finance"; } else if (ChoixM == 5) { choice.text = "Security"; } else if (ChoixM == 6) { choice.text = "Software Engineering"; } else if (ChoixM == 7) { choice.text = "Bio-Informatique"; } else if (ChoixM == 8) { choice.text = "Avionique et Espace"; } else if (ChoixM == 9) { choice.text = "Droids and Drones"; } else if (ChoixM == 10) { choice.text = "Networks & Virtualisation"; } else if (ChoixM == 11) { choice.text = "Energies Nouvelles et Réseaux Intelligents"; } save.Set_majeure(choice.text); }