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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (ToggleTasksButton != null)
            {
                ToggleTasksButton.Dispose();
                ToggleTasksButton = null;
            }
        }
示例#4
0
        void ReleaseDesignerOutlets()
        {
            if (ContinueButton != null)
            {
                ContinueButton.Dispose();
                ContinueButton = null;
            }

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

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

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

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

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

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