void ReleaseDesignerOutlets() { if (DescriptionWidth != null) { DescriptionWidth.Dispose(); DescriptionWidth = null; } if (ProjectView != null) { ProjectView.Dispose(); ProjectView = null; } if (ProjectWidth != null) { ProjectWidth.Dispose(); ProjectWidth = null; } if (TaskWidth != null) { TaskWidth.Dispose(); TaskWidth = null; } }
void ReleaseDesignerOutlets() { if (ClientView != null) { ClientView.Dispose(); ClientView = null; } if (ClientWidthConstraint != null) { ClientWidthConstraint.Dispose(); ClientWidthConstraint = null; } if (DescriptionWidthConstraint != null) { DescriptionWidthConstraint.Dispose(); DescriptionWidthConstraint = null; } if (ProjectView != null) { ProjectView.Dispose(); ProjectView = null; } if (ProjectWidthConstraint != null) { ProjectWidthConstraint.Dispose(); ProjectWidthConstraint = null; } if (RootView != null) { RootView.Dispose(); RootView = null; } }