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; } }