void ReleaseDesignerOutlets() { if (AmountOfTasksLabel != null) { AmountOfTasksLabel.Dispose(); AmountOfTasksLabel = null; } if (ClientNameLabel != null) { ClientNameLabel.Dispose(); ClientNameLabel = null; } if (FadeView != null) { FadeView.Dispose(); FadeView = null; } if (FadeViewTrailingConstraint != null) { FadeViewTrailingConstraint.Dispose(); FadeViewTrailingConstraint = null; } if (ProjectDotView != null) { ProjectDotView.Dispose(); ProjectDotView = null; } if (ProjectNameLabel != null) { ProjectNameLabel.Dispose(); ProjectNameLabel = null; } if (SelectedProjectView != null) { SelectedProjectView.Dispose(); SelectedProjectView = null; } if (ToggleTaskImage != null) { ToggleTaskImage.Dispose(); ToggleTaskImage = null; } if (ToggleTasksButton != null) { ToggleTasksButton.Dispose(); ToggleTasksButton = null; } }
void ReleaseDesignerOutlets() { if (AddDescriptionLabel != null) { AddDescriptionLabel.Dispose(); AddDescriptionLabel = null; } if (AddDescriptionTopDistanceConstraint != null) { AddDescriptionTopDistanceConstraint.Dispose(); AddDescriptionTopDistanceConstraint = null; } if (BillableImageView != null) { BillableImageView.Dispose(); BillableImageView = null; } if (ContinueButton != null) { ContinueButton.Dispose(); ContinueButton = null; } if (ContinueImageView != null) { ContinueImageView.Dispose(); ContinueImageView = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (DescriptionTopDistanceConstraint != null) { DescriptionTopDistanceConstraint.Dispose(); DescriptionTopDistanceConstraint = null; } if (FadeView != null) { FadeView.Dispose(); FadeView = null; } if (FadeViewTrailingConstraint != null) { FadeViewTrailingConstraint.Dispose(); FadeViewTrailingConstraint = null; } if (ProjectTaskClientLabel != null) { ProjectTaskClientLabel.Dispose(); ProjectTaskClientLabel = null; } if (SyncErrorImageView != null) { SyncErrorImageView.Dispose(); SyncErrorImageView = null; } if (TagsImageView != null) { TagsImageView.Dispose(); TagsImageView = null; } if (TimeLabel != null) { TimeLabel.Dispose(); TimeLabel = null; } if (UnsyncedImageView != null) { UnsyncedImageView.Dispose(); UnsyncedImageView = null; } if (BillableImageViewSpacingConstraint != null) { BillableImageViewSpacingConstraint.Dispose(); BillableImageViewSpacingConstraint = null; } }