void ReleaseDesignerOutlets() { if (CheckButton != null) { CheckButton.Dispose(); CheckButton = null; } if (CloseButton != null) { CloseButton.Dispose(); CloseButton = null; } if (CommentsTextView != null) { CommentsTextView.Dispose(); CommentsTextView = null; } if (ContactBrokerLabel != null) { ContactBrokerLabel.Dispose(); ContactBrokerLabel = null; } if (EmailAddressTextField != null) { EmailAddressTextField.Dispose(); EmailAddressTextField = null; } if (EmailInquiryView != null) { EmailInquiryView.Dispose(); EmailInquiryView = null; } if (NameTextField != null) { NameTextField.Dispose(); NameTextField = null; } if (SubmitButton != null) { SubmitButton.Dispose(); SubmitButton = null; } }
void ReleaseDesignerOutlets() { if (CommentsLabel != null) { CommentsLabel.Dispose(); CommentsLabel = null; } if (CommentsTextView != null) { CommentsTextView.Dispose(); CommentsTextView = null; } if (CommentsView != null) { CommentsView.Dispose(); CommentsView = null; } if (imgScrollViewHeightCnstrnt != null) { imgScrollViewHeightCnstrnt.Dispose(); imgScrollViewHeightCnstrnt = null; } if (PunchHeading != null) { PunchHeading.Dispose(); PunchHeading = null; } if (punchImgScrollView != null) { punchImgScrollView.Dispose(); punchImgScrollView = null; } if (punchSegmentControl != null) { punchSegmentControl.Dispose(); punchSegmentControl = null; } if (takePictureBtn != null) { takePictureBtn.Dispose(); takePictureBtn = null; } }