void ReleaseDesignerOutlets() { if (ErrorTextView != null) { ErrorTextView.Dispose(); ErrorTextView = null; } if (IllustrationContainer != null) { IllustrationContainer.Dispose(); IllustrationContainer = null; } if (RetryButton != null) { RetryButton.Dispose(); RetryButton = null; } if (iTunesButton != null) { iTunesButton.Dispose(); iTunesButton = null; } if (SpotifyButton != null) { SpotifyButton.Dispose(); SpotifyButton = null; } }
void ReleaseDesignerOutlets() { if (progressView != null) { progressView.Dispose(); progressView = null; } if (RetryButton != null) { RetryButton.Dispose(); RetryButton = null; } if (statusLabel != null) { statusLabel.Dispose(); statusLabel = null; } }
void ReleaseDesignerOutlets() { if (MessageLabel != null) { MessageLabel.Dispose(); MessageLabel = null; } if (RetryButton != null) { RetryButton.Dispose(); RetryButton = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } }