private void RetourneCompteurPeriode(Dictionary <string, List <int> > lesDeCentre, string Periode) { Galatee.Silverlight.ServiceReport.ReportServiceClient service1 = new Galatee.Silverlight.ServiceReport.ReportServiceClient(Utility.Protocole(), Utility.EndPoint("Report")); service1.ReturneCompteurParProduitPeriodeCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } if (res.Result != null && res.Result.Count != 0) { Utility.ActionDirectOrientation <ServicePrintings.CsEvenement, ServiceReport.CsEvenement>(res.Result, null, SessionObject.CheminImpression, "CompteurParProduitPeriode", "Report", true); } else { Message.ShowInformation("Aucune information trouvée", "Report"); return; } }; service1.ReturneCompteurParProduitPeriodeAsync(lesDeCentre, Periode); service1.CloseAsync(); }