void ReleaseDesignerOutlets() { if (GetNewsButton != null) { GetNewsButton.Dispose(); GetNewsButton = null; } if (HomeImage != null) { HomeImage.Dispose(); HomeImage = null; } if (NewsPicker != null) { NewsPicker.Dispose(); NewsPicker = null; } if (TopicText != null) { TopicText.Dispose(); TopicText = null; } }
void ReleaseDesignerOutlets() { if (GetNewsButton != null) { GetNewsButton.Dispose(); GetNewsButton = null; } if (HomeImage != null) { HomeImage.Dispose(); HomeImage = null; } }