void ReleaseDesignerOutlets() { if (ContinueButton != null) { ContinueButton.Dispose(); ContinueButton = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (ProjectLabel != null) { ProjectLabel.Dispose(); ProjectLabel = null; } if (TaskLabel != null) { TaskLabel.Dispose(); TaskLabel = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } }
void ReleaseDesignerOutlets() { if (ContinueButton != null) { ContinueButton.Dispose(); ContinueButton = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (DescriptionTopDistanceConstraint != null) { DescriptionTopDistanceConstraint.Dispose(); DescriptionTopDistanceConstraint = null; } if (ProjectDotView != null) { ProjectDotView.Dispose(); ProjectDotView = null; } if (ProjectLabel != null) { ProjectLabel.Dispose(); ProjectLabel = null; } if (TaskLabel != null) { TaskLabel.Dispose(); TaskLabel = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } }
public void Dispose() { TaskLabel.Dispose(); TaskProgressBar.Dispose(); TaskButton.Dispose(); }