private void ChargerTypeDocument() { try { Galatee.Silverlight.ServiceAccueil.AcceuilServiceClient service = new Galatee.Silverlight.ServiceAccueil.AcceuilServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Accueil")); service.ChargerTypeDocumentCompleted += (s, args) => { if ((args != null && args.Cancelled) || (args.Error != null)) { return; } foreach (var item in args.Result) { LstTypeDocument.Add(item); } cbo_typedoc.ItemsSource = LstTypeDocument; cbo_typedoc.DisplayMemberPath = "LIBELLE"; cbo_typedoc.SelectedValuePath = "PK_ID"; }; service.ChargerTypeDocumentAsync(); service.CloseAsync(); } catch (Exception) { throw; } }