private void btn_Retirer_Click(object sender, RoutedEventArgs e) { try { if (this.dtg_FactureAjouter.SelectedItem != null) { MiseAjourRetraitDemandeAnnulation(MethodeGenerics.RetourneDistincAcquitement(_LstrefReglement.Where(t => t.ACQUIT == ((ServiceCaisse.CsLclient) this.dtg_FactureAjouter.SelectedItem).ACQUIT).ToList())); } } catch (Exception ex) { throw ex; } }
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; } }