void ReleaseDesignerOutlets() { if (GetWeatherButton != null) { GetWeatherButton.Dispose(); GetWeatherButton = null; } if (LocationText != null) { LocationText.Dispose(); LocationText = null; } }
void ReleaseDesignerOutlets() { if (GetWeatherButton != null) { GetWeatherButton.Dispose(); GetWeatherButton = null; } if (HumidityText != null) { HumidityText.Dispose(); HumidityText = null; } if (ResultsTitle != null) { ResultsTitle.Dispose(); ResultsTitle = null; } if (SunriseText != null) { SunriseText.Dispose(); SunriseText = null; } if (SunsetText != null) { SunsetText.Dispose(); SunsetText = null; } if (TempText != null) { TempText.Dispose(); TempText = null; } if (VisibilityText != null) { VisibilityText.Dispose(); VisibilityText = null; } if (WindText != null) { WindText.Dispose(); WindText = null; } if (ZipCodeEdit != null) { ZipCodeEdit.Dispose(); ZipCodeEdit = null; } }