// Custom Methods private void UpdateMainDeckDisplayImage(Card newSelectedCard) { if (CardPictureBox.Image != null) { CardPictureBox.Image.Dispose(); } Image card = newSelectedCard.GetCardImage(newSelectedCard); CardPictureBox.Image = card; }