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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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