コード例 #1
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;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (AddDescriptionLabel != null)
            {
                AddDescriptionLabel.Dispose();
                AddDescriptionLabel = null;
            }

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

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

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

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

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

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

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

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

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

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