Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (ImageLoading != null)
            {
                ImageLoading.Dispose();
                ImageLoading = null;
            }

            if (AuthorLabel != null)
            {
                AuthorLabel.Dispose();
                AuthorLabel = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }

            if (CoverImage != null)
            {
                CoverImage.Dispose();
                CoverImage = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (CoverImage != null)
            {
                CoverImage.Dispose();
                CoverImage = null;
            }

            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

            if (IdLabel != null)
            {
                IdLabel.Dispose();
                IdLabel = null;
            }

            if (NameLabel != null)
            {
                NameLabel.Dispose();
                NameLabel = null;
            }

            if (PictureImage != null)
            {
                PictureImage.Dispose();
                PictureImage = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (SynopsisLoading != null)
            {
                SynopsisLoading.Dispose();
                SynopsisLoading = null;
            }

            if (AuthorLabel != null)
            {
                AuthorLabel.Dispose();
                AuthorLabel = null;
            }

            if (CoverImage != null)
            {
                CoverImage.Dispose();
                CoverImage = null;
            }

            if (GenreLabel != null)
            {
                GenreLabel.Dispose();
                GenreLabel = null;
            }

            if (ImageLoading != null)
            {
                ImageLoading.Dispose();
                ImageLoading = null;
            }

            if (OverviewRoot != null)
            {
                OverviewRoot.Dispose();
                OverviewRoot = null;
            }

            if (PublishDateLabel != null)
            {
                PublishDateLabel.Dispose();
                PublishDateLabel = null;
            }

            if (SynopsisLabel != null)
            {
                SynopsisLabel.Dispose();
                SynopsisLabel = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Example #4
0
 public void Dispose()
 {
     CoverImage?.Dispose();
 }