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

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

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

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

            if (BillableIcon != null)
            {
                BillableIcon.Dispose();
                BillableIcon = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (AddDescriptionLabel != null)
            {
                AddDescriptionLabel.Dispose();
                AddDescriptionLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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