void ReleaseDesignerOutlets() { if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (AuthorLabel != null) { AuthorLabel.Dispose(); AuthorLabel = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (BookImage != null) { BookImage.Dispose(); BookImage = null; } if (ActivityIndicator != null) { ActivityIndicator.Dispose(); ActivityIndicator = null; } }
void ReleaseDesignerOutlets() { if (BookImage != null) { BookImage.Dispose(); BookImage = null; } if (BookISBNLabel != null) { BookISBNLabel.Dispose(); BookISBNLabel = null; } if (BookPriceLabel != null) { BookPriceLabel.Dispose(); BookPriceLabel = null; } if (BookSubtitleLabel != null) { BookSubtitleLabel.Dispose(); BookSubtitleLabel = null; } if (BookTitleLabel != null) { BookTitleLabel.Dispose(); BookTitleLabel = null; } if (BookUrlLabel != null) { BookUrlLabel.Dispose(); BookUrlLabel = null; } }