void ReleaseDesignerOutlets() { if (BackgroundView != null) { BackgroundView.Dispose(); BackgroundView = null; } if (CloseBtn != null) { CloseBtn.Dispose(); CloseBtn = null; } if (TextContainerView != null) { TextContainerView.Dispose(); TextContainerView = null; } if (TextLabel != null) { TextLabel.Dispose(); TextLabel = null; } }
void ReleaseDesignerOutlets() { if (ArrowImage != null) { ArrowImage.Dispose(); ArrowImage = null; } if (DescriptionBottomConstraint != null) { DescriptionBottomConstraint.Dispose(); DescriptionBottomConstraint = null; } if (HelpDescription != null) { HelpDescription.Dispose(); HelpDescription = null; } if (HelpTitle != null) { HelpTitle.Dispose(); HelpTitle = null; } if (TextContainerView != null) { TextContainerView.Dispose(); TextContainerView = null; } if (TitleBottomConstraint != null) { TitleBottomConstraint.Dispose(); TitleBottomConstraint = null; } }