void ReleaseDesignerOutlets() { if (CurrentLocationButton != null) { CurrentLocationButton.Dispose(); CurrentLocationButton = null; } if (Humid1Label != null) { Humid1Label.Dispose(); Humid1Label = null; } if (IconImage != null) { IconImage.Dispose(); IconImage = null; } if (SettingsButton != null) { SettingsButton.Dispose(); SettingsButton = null; } if (Speed1Label != null) { Speed1Label.Dispose(); Speed1Label = null; } if (StartGpsButton != null) { StartGpsButton.Dispose(); StartGpsButton = null; } if (SummaryLabel != null) { SummaryLabel.Dispose(); SummaryLabel = null; } if (Temp1Label != null) { Temp1Label.Dispose(); Temp1Label = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } if (TimezoneInfoLabel != null) { TimezoneInfoLabel.Dispose(); TimezoneInfoLabel = null; } if (WeatherRootView != null) { WeatherRootView.Dispose(); WeatherRootView = null; } if (WeekDayLabel != null) { WeekDayLabel.Dispose(); WeekDayLabel = null; } if (WeekTableView != null) { WeekTableView.Dispose(); WeekTableView = null; } }
void ReleaseDesignerOutlets() { if (AutosuggestionsTableView != null) { AutosuggestionsTableView.Dispose(); AutosuggestionsTableView = null; } if (ButtonBottomConstraint != null) { ButtonBottomConstraint.Dispose(); ButtonBottomConstraint = null; } if (ContactCardView != null) { ContactCardView.Dispose(); ContactCardView = null; } if (CurrentLocationButton != null) { CurrentLocationButton.Dispose(); CurrentLocationButton = null; } if (DirectionsButton != null) { DirectionsButton.Dispose(); DirectionsButton = null; } if (FloorPickerBottomConstraint != null) { FloorPickerBottomConstraint.Dispose(); FloorPickerBottomConstraint = null; } if (FloorsTableView != null) { FloorsTableView.Dispose(); FloorsTableView = null; } if (HeightConstraint != null) { HeightConstraint.Dispose(); HeightConstraint = null; } if (HomeButton != null) { HomeButton.Dispose(); HomeButton = null; } if (LocationSearchBar != null) { LocationSearchBar.Dispose(); LocationSearchBar = null; } if (MainLabel != null) { MainLabel.Dispose(); MainLabel = null; } if (MapView != null) { MapView.Dispose(); MapView = null; } if (RouteCard != null) { RouteCard.Dispose(); RouteCard = null; } if (RouteTableView != null) { RouteTableView.Dispose(); RouteTableView = null; } if (SearchToolbar != null) { SearchToolbar.Dispose(); SearchToolbar = null; } if (SecondaryLabel != null) { SecondaryLabel.Dispose(); SecondaryLabel = null; } if (SettingsButton != null) { SettingsButton.Dispose(); SettingsButton = null; } if (WalkTimeLabel != null) { WalkTimeLabel.Dispose(); WalkTimeLabel = null; } }