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

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

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

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

            if (ProjectLabel != null)
            {
                ProjectLabel.Dispose();
                ProjectLabel = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (ClientLabel != null)
            {
                ClientLabel.Dispose();
                ClientLabel = null;
            }

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

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

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

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

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

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