private void RemplirCodeRegroupement() { try { Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient service = new Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Recouvrement")); service.RetourneCodeRegroupementCompleted += (s, args) => { if (args != null && args.Cancelled) { return; } LstCodeRegroupement = args.Result; if (LstAffectation != null) { ReLoadingGrid(); } return; }; service.RetourneCodeRegroupementAsync(); //} } catch (Exception ex) { throw ex; } }
private void RemplirCodeRegroupement() { try { Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient service = new Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Recouvrement")); service.RetourneCodeRegroupementCompleted += (s, args) => { if (args != null && args.Cancelled) { return; } LstCodeRegroupement = args.Result; RemplirCampagneById(this.IdCampagne); return; }; service.RetourneCodeRegroupementAsync(); } catch (Exception ex) { throw ex; } }