void ReleaseDesignerOutlets() { if (ImageLoading != null) { ImageLoading.Dispose(); ImageLoading = null; } if (AuthorLabel != null) { AuthorLabel.Dispose(); AuthorLabel = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (CoverImage != null) { CoverImage.Dispose(); CoverImage = null; } }
void ReleaseDesignerOutlets() { if (CoverImage != null) { CoverImage.Dispose(); CoverImage = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (IdLabel != null) { IdLabel.Dispose(); IdLabel = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PictureImage != null) { PictureImage.Dispose(); PictureImage = null; } }
void ReleaseDesignerOutlets() { if (SynopsisLoading != null) { SynopsisLoading.Dispose(); SynopsisLoading = null; } if (AuthorLabel != null) { AuthorLabel.Dispose(); AuthorLabel = null; } if (CoverImage != null) { CoverImage.Dispose(); CoverImage = null; } if (GenreLabel != null) { GenreLabel.Dispose(); GenreLabel = null; } if (ImageLoading != null) { ImageLoading.Dispose(); ImageLoading = null; } if (OverviewRoot != null) { OverviewRoot.Dispose(); OverviewRoot = null; } if (PublishDateLabel != null) { PublishDateLabel.Dispose(); PublishDateLabel = null; } if (SynopsisLabel != null) { SynopsisLabel.Dispose(); SynopsisLabel = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } }
public void Dispose() { CoverImage?.Dispose(); }