private void galatee_OkClickedRaisonAnnulation(object sender, EventArgs e)
 {
     try
     {
         FrmMotifAction ctrs = sender as FrmMotifAction;
         if (ctrs.IsValide)
         {
             MiseAjourDemandeAnnulation(MethodeGenerics.RetourneDistincAcquitement(ctrs.lstReglementAnnuler));
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 private void btn_Ajouter_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         ServiceCaisse.CsLclient leReglementSelect = (ServiceCaisse.CsLclient)dtg_FactureAAnnule.SelectedItem;
         if (leReglementSelect != null)
         {
             FrmMotifAction ctrl = new FrmMotifAction(_LstrefReglement.Where(t => t.ACQUIT == leReglementSelect.ACQUIT).ToList());
             ctrl.Closed += new EventHandler(galatee_OkClickedRaisonAnnulation);
             ctrl.Show();
         }
     }
     catch (Exception ex)
     {
         Message.Show(ex.Message, Langue.LibelleModule);
     }
 }