private void ListeDesTauxMandatement(string Matricule) { Galatee.Silverlight.ServiceReport.ReportServiceClient service1 = new Galatee.Silverlight.ServiceReport.ReportServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Report")); service1.RetourneTauxDeMandatementCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } if (res.Result != null && res.Result.Count != 0) { Utility.ActionDirectOrientation <ServicePrintings.CsMandatementGc, ServiceReport.CsMandatementGc>(res.Result, null, SessionObject.CheminImpression, "TauxMandatement", "Report", true); } else { Message.ShowInformation("Aucune information trouvée", "Report"); return; } }; service1.RetourneTauxDeMandatementAsync(Matricule); service1.CloseAsync(); }