private void Creer_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         FrmImportFichier form = new FrmImportFichier();
         form.Closed += form_Closed;
         form.Show();
     }
     catch (Exception ex)
     {
         //Message.ShowError(ex.Message, Languages.RechercheTarif);
     }
 }
 private void Consulter_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (dgImport.SelectedItem != null)
         {
             var objetselectionne  = (aImportFichier)dgImport.SelectedItem;
             FrmImportFichier form = new FrmImportFichier(objetselectionne, SessionObject.ExecMode.Consultation);
             form.Closed += form_Closed;
             form.Show();
         }
     }
     catch (Exception ex)
     {
         //Message.ShowError(ex.Message, Languages.RechercheTarif);
     }
 }