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

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

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

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

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

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

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

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

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

            if (EmailInputField != null)
            {
                EmailInputField.Dispose();
                EmailInputField = null;
            }
        }
示例#4
0
        void ReleaseDesignerOutlets()
        {
            if (BuyButton != null)
            {
                BuyButton.Dispose();
                BuyButton = null;
            }

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

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

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

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

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

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