void ReleaseDesignerOutlets() { if (CaloriesLabel != null) { CaloriesLabel.Dispose(); CaloriesLabel = null; } if (DistanceLabel != null) { DistanceLabel.Dispose(); DistanceLabel = null; } if (DurationLabel != null) { DurationLabel.Dispose(); DurationLabel = null; } if (WorkoutLabel != null) { WorkoutLabel.Dispose(); WorkoutLabel = null; } }
void ReleaseDesignerOutlets() { if (CaloriesLabel != null) { CaloriesLabel.Dispose(); CaloriesLabel = null; } if (DistanceLabel != null) { DistanceLabel.Dispose(); DistanceLabel = null; } if (DurationLabel != null) { DurationLabel.Dispose(); DurationLabel = null; } if (MarkerButton != null) { MarkerButton.Dispose(); MarkerButton = null; } if (MarkerLabel != null) { MarkerLabel.Dispose(); MarkerLabel = null; } if (PauseResumeButton != null) { PauseResumeButton.Dispose(); PauseResumeButton = null; } }