private void ChargerPiaAgence(string CodeSite) { try { Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient service = new Galatee.Silverlight.ServiceRecouvrement.RecouvrementServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Recouvrement")); service.RetournePIAAgenceCompleted += (s, args) => { if (args != null && args.Cancelled) { return; } List <CsUtilisateur> lstPia = new List <CsUtilisateur>(); lstPia.Add(new CsUtilisateur() { LIBELLE = "Aucun" }); lstPia.AddRange(args.Result); this.cmbAgent.ItemsSource = null; this.cmbAgent.ItemsSource = lstPia; this.cmbAgent.DisplayMemberPath = "LIBELLE"; return; }; service.RetournePIAAgenceAsync(CodeSite); service.CloseAsync(); } catch (Exception ex) { throw ex; } }