private void LoadAllContenantCritereTarif() { try { //if (SessionObject.ListeDesProduit.Count != 0) //{ // LstDeProduit = SessionObject.ListeDesProduit; // return; //} Galatee.Silverlight.ServiceTarification.TarificationServiceClient service1 = new Galatee.Silverlight.ServiceTarification.TarificationServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Tarification")); service1.LoadAllContenantCritereTarifCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } //SessionObject.ListeDesProduit = res.Result; LstDeContenantCritereTarif = res.Result; CboTable.ItemsSource = LstDeContenantCritereTarif; CboTable.DisplayMemberPath = "LIBELLE"; CboTable.SelectedValuePath = "PK_ID"; }; service1.LoadAllContenantCritereTarifAsync(); service1.CloseAsync(); } catch (Exception ex) { Message.ShowError(ex.Message, "ChargerListeDeProduit"); } }