void ReleaseDesignerOutlets() { if (IntroductionLabel != null) { IntroductionLabel.Dispose(); IntroductionLabel = null; } if (LearnMoreButton != null) { LearnMoreButton.Dispose(); LearnMoreButton = null; } if (AboutLabel != null) { AboutLabel.Dispose(); AboutLabel = null; } if (FooterLabel != null) { FooterLabel.Dispose(); FooterLabel = null; } }
void ReleaseDesignerOutlets() { if (ContainerView != null) { ContainerView.Dispose(); ContainerView = null; } if (FooterLabel != null) { FooterLabel.Dispose(); FooterLabel = null; } if (HandleLabel != null) { HandleLabel.Dispose(); HandleLabel = null; } if (InititalsLabel != null) { InititalsLabel.Dispose(); InititalsLabel = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } }