public void SetClosedCardImages() { var closedImage = libManager.GetClosedCardImage(); var buttons = buttonsCollection.GetAllButtons(); foreach (var button in buttons) { button.Value.SetClosedCardImage(closedImage.Image); } }