示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (InternalImageView != null)
            {
                InternalImageView.Dispose();
                InternalImageView = null;
            }

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

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

            if (BottomOffset != null)
            {
                BottomOffset.Dispose();
                BottomOffset = null;
            }
        }
示例#2
0
        void ReleaseDesignerOutlets()
        {
            if (BottomOffset != null)
            {
                BottomOffset.Dispose();
                BottomOffset = null;
            }

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

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

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

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

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