private void DisplayCardView()
        {
            PhotoCard card = this.CreateCardView();

            if (card != null)
            {
                card.ShowDialog();
            }
        }
        private void ShowPreview()
        {
            if (this.CardTemplate != null)
            {
                for (int i = this.CardTemplate.Images.Count + 1; i <= this.CardTemplate.ImagesRequired; i++)
                {
                    this.CardTemplate.Images.Add(this.GenerateImage(string.Format("{0}", i)));
                }

                PhotoCard card = this.CardTemplate.CreateCard();
                card.Owner         = this.Owner;
                card.SizeToContent = SizeToContent.Width;
                card.Width        /= 2;
                card.ShowDialog();
            }
        }