void ReleaseDesignerOutlets() { if (Grid != null) { Grid.Dispose(); Grid = null; } if (SelectionLabel != null) { SelectionLabel.Dispose(); SelectionLabel = null; } if (SelectionModeField != null) { SelectionModeField.Dispose(); SelectionModeField = null; } }
void ReleaseDesignerOutlets() { if (SelectionLabelTrailingConstraint != null) { SelectionLabelTrailingConstraint.Dispose(); SelectionLabelTrailingConstraint = null; } if (SelectionlabelLeadingConstraint != null) { SelectionlabelLeadingConstraint.Dispose(); SelectionlabelLeadingConstraint = null; } if (ErrorTextView != null) { ErrorTextView.Dispose(); ErrorTextView = null; } if (OkButton != null) { OkButton.Dispose(); OkButton = null; } if (OkButtonBottomConstraint != null) { OkButtonBottomConstraint.Dispose(); OkButtonBottomConstraint = null; } if (PageSubtitleText != null) { PageSubtitleText.Dispose(); PageSubtitleText = null; } if (PageSubtitleTopConstraint != null) { PageSubtitleTopConstraint.Dispose(); PageSubtitleTopConstraint = null; } if (PageTitleLabel != null) { PageTitleLabel.Dispose(); PageTitleLabel = null; } if (PageTitleTopConstraint != null) { PageTitleTopConstraint.Dispose(); PageTitleTopConstraint = null; } if (SearchContainer != null) { SearchContainer.Dispose(); SearchContainer = null; } if (SearchResultTableView != null) { SearchResultTableView.Dispose(); SearchResultTableView = null; } if (SearchText != null) { SearchText.Dispose(); SearchText = null; } if (SelectionLabel != null) { SelectionLabel.Dispose(); SelectionLabel = null; } if (SelectionLabelTopConstraint != null) { SelectionLabelTopConstraint.Dispose(); SelectionLabelTopConstraint = null; } if (TableViewBottomConstraint != null) { TableViewBottomConstraint.Dispose(); TableViewBottomConstraint = null; } }