private void RechercheEtudiant_Click(object sender, RoutedEventArgs e)
 {
     lesEntreprise = ManagerEntreprise.recupererListeProfilesEntreprisesSelonNom(RechercheEtudiantNom.Text);
     if (lesEntreprise != null)
     {
         resultat.Visibility = System.Windows.Visibility.Hidden;
         ListeEtudiantsVue.Children.Clear();
         ajouterEntrepriseVue();
     }
     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;
                }
            }
        }