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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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