private void RechercheEtudiant_Click(object sender, RoutedEventArgs e)
 {
     lesEtudiants = ManagerEtudiant.recupererEtudiantParleNom(RechercheEtudiantNom.Text);
     if (lesEtudiants != null)
     {
         resultat.Visibility = System.Windows.Visibility.Hidden;
         ListeEtudiantsVue.Children.Clear();
         ajouterEtudiantVue();
     }
     else
     {
         resultat.Visibility = System.Windows.Visibility.Visible;
     }
 }
        //evenement au click
        private void bntRechercher_Click(object sender, RoutedEventArgs e)
        {
            string ChoixRechercheValeur = Recherche.Text;
            // MessageBox.Show("valeur rechercher " + Recherche.Text, "LOGIN FAIL", MessageBoxButton.OK);

            bool?radioCheck = RadioBtnEtudiant.IsChecked;

            if (radioCheck == true)
            {
                lesEtudiants = ManagerEtudiant.recupererEtudiantParleNom(ChoixRechercheValeur);
                if (lesEtudiants != null)
                {
                    resultat.Visibility = System.Windows.Visibility.Hidden;
                    ListeEtudiantsEntrepriseVue.Children.Clear();
                    ajouterEtudiantVue();
                }
                else
                {
                    resultat.Visibility = System.Windows.Visibility.Visible;
                }
            }
            else
            {
                lesEntreprises = ManagerEntreprise.recupererListeProfilesEntreprisesSelonNom(ChoixRechercheValeur);

                if (lesEntreprises != null)
                {
                    resultat.Visibility = System.Windows.Visibility.Hidden;
                    ListeEtudiantsEntrepriseVue.Children.Clear();
                    ajouterEntrepriseVue();
                }
                else
                {
                    resultat.Visibility = System.Windows.Visibility.Visible;
                }
            }
        }