void ReleaseDesignerOutlets() { if (AddToCartBtn != null) { AddToCartBtn.Dispose(); AddToCartBtn = null; } if (amountTxt != null) { amountTxt.Dispose(); amountTxt = null; } if (CancelBtn != null) { CancelBtn.Dispose(); CancelBtn = null; } if (DescLabel != null) { DescLabel.Dispose(); DescLabel = null; } if (DescriptionTB != null) { DescriptionTB.Dispose(); DescriptionTB = null; } if (HotDogDetailView != null) { HotDogDetailView.Dispose(); HotDogDetailView = null; } if (HotDogImageView != null) { HotDogImageView.Dispose(); HotDogImageView = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PriceLabel != null) { PriceLabel.Dispose(); PriceLabel = null; } }
void ReleaseDesignerOutlets() { if (DescLabel != null) { DescLabel.Dispose(); DescLabel = null; } if (TestImage != null) { TestImage.Dispose(); TestImage = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } }
void ReleaseDesignerOutlets() { if (AudioIcon != null) { AudioIcon.Dispose(); AudioIcon = null; } if (DescLabel != null) { DescLabel.Dispose(); DescLabel = null; } if (ImageView != null) { ImageView.Dispose(); ImageView = null; } }