void ReleaseDesignerOutlets() { if (AddToCartButton != null) { AddToCartButton.Dispose(); AddToCartButton = null; } if (AmountText != null) { AmountText.Dispose(); AmountText = null; } if (bView != null) { bView.Dispose(); bView = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (imgView != null) { imgView.Dispose(); imgView = null; } if (LongDescriptionText != null) { LongDescriptionText.Dispose(); LongDescriptionText = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } if (ShortDescriptionLabel != null) { ShortDescriptionLabel.Dispose(); ShortDescriptionLabel = null; } }
void ReleaseDesignerOutlets() { if (AddToCartButton != null) { AddToCartButton.Dispose(); AddToCartButton = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (HotDogDetailView != null) { HotDogDetailView.Dispose(); HotDogDetailView = null; } if (HotDogImageView != null) { HotDogImageView.Dispose(); HotDogImageView = null; } if (LongDescriptionText != null) { LongDescriptionText.Dispose(); LongDescriptionText = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } if (QuantityInput != null) { QuantityInput.Dispose(); QuantityInput = null; } if (ShortDescriptionLabel != null) { ShortDescriptionLabel.Dispose(); ShortDescriptionLabel = null; } }
void ReleaseDesignerOutlets() { if (AddToChartButton != null) { AddToChartButton.Dispose(); AddToChartButton = null; } if (AmmountText != null) { AmmountText.Dispose(); AmmountText = null; } if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (HotDogImageView != null) { HotDogImageView.Dispose(); HotDogImageView = null; } if (HotDogName != null) { HotDogName.Dispose(); HotDogName = null; } if (LongDescriptionText != null) { LongDescriptionText.Dispose(); LongDescriptionText = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } if (ShortDescriptionLabel != null) { ShortDescriptionLabel.Dispose(); ShortDescriptionLabel = null; } }