Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (AILogo != null)
            {
                AILogo.Dispose();
                AILogo = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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