private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     try{
         lstComp.DataContext = CompetiteurCRUD.ListerCompt();
         cmp = CompetiteurCRUD.getCompetiteur();
         stInfo.DataContext = cmp;
     }catch (Exception ex) { MessageBox.Show(ex.Message); }
 }
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         CompetiteurCRUD.AjouterCompetiteur(cmp);
         lstComp.DataContext = CompetiteurCRUD.ListerCompt();
     }
     catch (Exception ex) { MessageBox.Show(ex.Message); }
 }