예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (DealershipNameLabel != null)
            {
                DealershipNameLabel.Dispose();
                DealershipNameLabel = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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