コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (LocationLabel != null)
            {
                LocationLabel.Dispose();
                LocationLabel = null;
            }

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

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

            if (TypeLabel != null)
            {
                TypeLabel.Dispose();
                TypeLabel = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (ThumbnailImageView != null)
            {
                ThumbnailImageView.Dispose();
                ThumbnailImageView = null;
            }

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

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