void ReleaseDesignerOutlets() { if (BoxContentLabelTwo != null) { BoxContentLabelTwo.Dispose(); BoxContentLabelTwo = null; } if (BoxTitleLabel != null) { BoxTitleLabel.Dispose(); BoxTitleLabel = null; } if (BoxView != null) { BoxView.Dispose(); BoxView = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (ContentLabelOne != null) { ContentLabelOne.Dispose(); ContentLabelOne = null; } if (ContentLabelTwo != null) { ContentLabelTwo.Dispose(); ContentLabelTwo = null; } if (HealthAuthoritiesLogo != null) { HealthAuthoritiesLogo.Dispose(); HealthAuthoritiesLogo = null; } if (TitleLabel != null) { TitleLabel.Dispose(); TitleLabel = null; } if (ToStartPageBtn != null) { ToStartPageBtn.Dispose(); ToStartPageBtn = null; } }
void ReleaseDesignerOutlets() { if (BoxView != null) { BoxView.Dispose(); BoxView = null; } if (DescriptionText != null) { DescriptionText.Dispose(); DescriptionText = null; } if (DialogView != null) { DialogView.Dispose(); DialogView = null; } if (EditTextBox != null) { EditTextBox.Dispose(); EditTextBox = null; } if (ErrorMessageText != null) { ErrorMessageText.Dispose(); ErrorMessageText = null; } if (ErrorText != null) { ErrorText.Dispose(); ErrorText = null; } if (OkButton != null) { OkButton.Dispose(); OkButton = null; } if (OkButtonBottomConstraint != null) { OkButtonBottomConstraint.Dispose(); OkButtonBottomConstraint = null; } if (PopupBottomConstraint != null) { PopupBottomConstraint.Dispose(); PopupBottomConstraint = null; } if (PopupTitle != null) { PopupTitle.Dispose(); PopupTitle = null; } if (PopupTopConstraint != null) { PopupTopConstraint.Dispose(); PopupTopConstraint = null; } }