void ReleaseDesignerOutlets() { if (AgeLabel != null) { AgeLabel.Dispose(); AgeLabel = null; } if (GirlImageView != null) { GirlImageView.Dispose(); GirlImageView = null; } if (LikedUIButton != null) { LikedUIButton.Dispose(); LikedUIButton = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (NopeUIButton != null) { NopeUIButton.Dispose(); NopeUIButton = null; } }
void ReleaseDesignerOutlets() { if (AgeLabel != null) { AgeLabel.Dispose(); AgeLabel = null; } if (FaceImageView != null) { FaceImageView.Dispose(); FaceImageView = null; } if (FacialHairLabel != null) { FacialHairLabel.Dispose(); FacialHairLabel = null; } if (GenderLabel != null) { GenderLabel.Dispose(); GenderLabel = null; } if (HeadPoseLabel != null) { HeadPoseLabel.Dispose(); HeadPoseLabel = null; } if (SizeLabel != null) { SizeLabel.Dispose(); SizeLabel = null; } if (SmileLabel != null) { SmileLabel.Dispose(); SmileLabel = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (HairLabel != null) { HairLabel.Dispose(); HairLabel = null; } if (GlassesLabel != null) { GlassesLabel.Dispose(); GlassesLabel = null; } if (EmotionLabel != null) { EmotionLabel.Dispose(); EmotionLabel = null; } if (MakeupLabel != null) { MakeupLabel.Dispose(); MakeupLabel = null; } if (AccessoriesLabel != null) { AccessoriesLabel.Dispose(); AccessoriesLabel = null; } if (OcclusionLabel != null) { OcclusionLabel.Dispose(); OcclusionLabel = null; } if (BlurLabel != null) { BlurLabel.Dispose(); BlurLabel = null; } if (NoiseLabel != null) { NoiseLabel.Dispose(); NoiseLabel = null; } if (ExposureLabel != null) { ExposureLabel.Dispose(); ExposureLabel = null; } }