void ReleaseDesignerOutlets() { if (buttonBack != null) { buttonBack.Dispose(); buttonBack = null; } if (ContinueButton != null) { ContinueButton.Dispose(); ContinueButton = null; } if (CovidDetailImage != null) { CovidDetailImage.Dispose(); CovidDetailImage = null; } if (CovidLabel != null) { CovidLabel.Dispose(); CovidLabel = null; } if (CovidLabelState != null) { CovidLabelState.Dispose(); CovidLabelState = null; } if (CovidView != null) { CovidView.Dispose(); CovidView = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (MedicalDetailImage != null) { MedicalDetailImage.Dispose(); MedicalDetailImage = null; } if (MedicalLabel != null) { MedicalLabel.Dispose(); MedicalLabel = null; } if (MedicalLabelState != null) { MedicalLabelState.Dispose(); MedicalLabelState = null; } if (MedicalView != null) { MedicalView.Dispose(); MedicalView = null; } if (RiskDetailImage != null) { RiskDetailImage.Dispose(); RiskDetailImage = null; } if (RiskLabel != null) { RiskLabel.Dispose(); RiskLabel = null; } if (RiskLabelState != null) { RiskLabelState.Dispose(); RiskLabelState = null; } if (RiskView != null) { RiskView.Dispose(); RiskView = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } }
void ReleaseDesignerOutlets() { if (buttonConfirm != null) { buttonConfirm.Dispose(); buttonConfirm = null; } if (CovidDetailImgView != null) { CovidDetailImgView.Dispose(); CovidDetailImgView = null; } if (CovidLabel != null) { CovidLabel.Dispose(); CovidLabel = null; } if (CovidLabelState != null) { CovidLabelState.Dispose(); CovidLabelState = null; } if (CovidView != null) { CovidView.Dispose(); CovidView = null; } if (DescriptionLabel != null) { DescriptionLabel.Dispose(); DescriptionLabel = null; } if (indicator != null) { indicator.Dispose(); indicator = null; } if (labelTitle != null) { labelTitle.Dispose(); labelTitle = null; } if (MedicalDetailImgView != null) { MedicalDetailImgView.Dispose(); MedicalDetailImgView = null; } if (MedicalLabel != null) { MedicalLabel.Dispose(); MedicalLabel = null; } if (MedicalLabelState != null) { MedicalLabelState.Dispose(); MedicalLabelState = null; } if (MedicalView != null) { MedicalView.Dispose(); MedicalView = null; } if (RiskDetailImgView != null) { RiskDetailImgView.Dispose(); RiskDetailImgView = null; } if (RiskLabel != null) { RiskLabel.Dispose(); RiskLabel = null; } if (RiskLabelState != null) { RiskLabelState.Dispose(); RiskLabelState = null; } if (RiskView != null) { RiskView.Dispose(); RiskView = null; } }