コード例 #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;
            }
        }
コード例 #2
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;
            }
        }