private void DeleteColonneImport(int idcolone) { bool DeleteImport = false; AdministrationServiceClient service1 = new AdministrationServiceClient(Utility.ProtocoleFacturation(), Utility.EndPoint("Administration")); service1.DeleteColonneCompleted += (sr, res) => { if (res != null && res.Cancelled) { return; } DeleteImport = res.Result; if (DeleteImport == true) { Message.ShowInformation("Supprimé!", "Paramétrage"); GetColonneImport(CodeImport); } }; service1.DeleteColonneAsync(idcolone); service1.CloseAsync(); }