private void LoadRequest() { AdministrationServiceClient client = new AdministrationServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Administration")); client.LoadRequestCompleted += (ss, res) => { if (res.Cancelled || res.Error != null) { string error = res.Error.Message; Message.ShowError(error, Galatee.Silverlight.Resources.Langue.errorTitle); return; } //if (res.Result == null || res.Result.Count == 0) //{ // Message.ShowInformation(Galatee.Silverlight.Resources.Langue.msgNodata, Galatee.Silverlight.Resources.Langue.informationTitle); // return; //} //txt_requette.Text = res.Result; }; client.LoadRequestAsync(); }