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; } }
void ReleaseDesignerOutlets() { if (ClientLabel != null) { ClientLabel.Dispose(); ClientLabel = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (ColorCircleView != null) { ColorCircleView.Dispose(); ColorCircleView = null; } if (ColorPickerOpeningView != null) { ColorPickerOpeningView.Dispose(); ColorPickerOpeningView = null; } if (DoneButton != null) { DoneButton.Dispose(); DoneButton = null; } if (ErrorLabel != null) { ErrorLabel.Dispose(); ErrorLabel = null; } if (NameTextField != null) { NameTextField.Dispose(); NameTextField = null; } if (PrivateProjectLabel != null) { PrivateProjectLabel.Dispose(); PrivateProjectLabel = null; } if (PrivateProjectSwitch != null) { PrivateProjectSwitch.Dispose(); PrivateProjectSwitch = null; } if (PrivateProjectSwitchContainer != null) { PrivateProjectSwitchContainer.Dispose(); PrivateProjectSwitchContainer = null; } if (ProjectNameUsedErrorTextHeight != null) { ProjectNameUsedErrorTextHeight.Dispose(); ProjectNameUsedErrorTextHeight = null; } if (ProjectNameUsedErrorView != null) { ProjectNameUsedErrorView.Dispose(); ProjectNameUsedErrorView = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (WorkspaceLabel != null) { WorkspaceLabel.Dispose(); WorkspaceLabel = null; } if (NameView != null) { NameView.Dispose(); NameView = null; } if (WorkspaceView != null) { WorkspaceView.Dispose(); WorkspaceView = null; } if (ClientView != null) { ClientView.Dispose(); ClientView = null; } }