/// <summary> /// déclanche la procédure de cloture du popupstore /// </summary> public void CloturePopupStore() { ClosePopupValidation closePopupValidation = new(); if (closePopupValidation.ShowDialog() == true) { InfoServices.DeletePopupStoreInfo(); SaleServices.DeleteSaleAndSaleDetails(); if (closePopupValidation.DeleteProduct) { ProductServices.RemoveAllProduct(); } } RefreshInfo(); }