Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (MapButton != null)
            {
                MapButton.Dispose();
                MapButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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