private void ListeDesMandatement(string Matricule, DateTime dateDebut, DateTime dateFin) { Galatee.Silverlight.ServiceReport.ReportServiceClient service1 = new Galatee.Silverlight.ServiceReport.ReportServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Report")); service1.ListeMandatementCompleted += (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, "ListeDesMandatementGestionnaire", "Report", true); } else { Message.ShowInformation("Aucune information trouvée", "Report"); return; } }; service1.ListeMandatementAsync(Matricule, dateDebut, dateFin); service1.CloseAsync(); }