void ReleaseDesignerOutlets() { if (EmailImageView != null) { EmailImageView.Dispose(); EmailImageView = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (PhoneImageView != null) { PhoneImageView.Dispose(); PhoneImageView = null; } if (PhoneNumberLabel != null) { PhoneNumberLabel.Dispose(); PhoneNumberLabel = null; } }
void ReleaseDesignerOutlets() { if (DemoCardSuperview != null) { DemoCardSuperview.Dispose(); DemoCardSuperview = null; } if (DemoCardSuperviewHeightConstraint != null) { DemoCardSuperviewHeightConstraint.Dispose(); DemoCardSuperviewHeightConstraint = null; } if (FlipButton != null) { FlipButton.Dispose(); FlipButton = null; } if (LeftArrowImageView != null) { LeftArrowImageView.Dispose(); LeftArrowImageView = null; } if (NoBackgroundView != null) { NoBackgroundView.Dispose(); NoBackgroundView = null; } if (NoLabel != null) { NoLabel.Dispose(); NoLabel = null; } if (PhoneImageView != null) { PhoneImageView.Dispose(); PhoneImageView = null; } if (RightArrowImageView != null) { RightArrowImageView.Dispose(); RightArrowImageView = null; } if (StatusButton != null) { StatusButton.Dispose(); StatusButton = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (YesBackgroundView != null) { YesBackgroundView.Dispose(); YesBackgroundView = null; } if (YesLabel != null) { YesLabel.Dispose(); YesLabel = null; } }