void ReleaseDesignerOutlets() { if (ActivityIndicator != null) { ActivityIndicator.Dispose(); ActivityIndicator = null; } if (DirectionsLabel != null) { DirectionsLabel.Dispose(); DirectionsLabel = null; } if (StatusMessageLabel != null) { StatusMessageLabel.Dispose(); StatusMessageLabel = null; } if (StatusLabelGroup != null) { StatusLabelGroup.Dispose(); StatusLabelGroup = null; } if (WebView != null) { WebView.Dispose(); WebView = null; } }
void ReleaseDesignerOutlets() { if (CancelButton != null) { CancelButton.Dispose(); CancelButton = null; } if (FirstNameLabel != null) { FirstNameLabel.Dispose(); FirstNameLabel = null; } if (FirstNameText != null) { FirstNameText.Dispose(); FirstNameText = null; } if (LastNameLabel != null) { LastNameLabel.Dispose(); LastNameLabel = null; } if (LastNameText != null) { LastNameText.Dispose(); LastNameText = null; } if (PasswordLabel != null) { PasswordLabel.Dispose(); PasswordLabel = null; } if (PasswordText != null) { PasswordText.Dispose(); PasswordText = null; } if (StatusMessageLabel != null) { StatusMessageLabel.Dispose(); StatusMessageLabel = null; } if (SubmitButton != null) { SubmitButton.Dispose(); SubmitButton = null; } if (UserInputContainerView != null) { UserInputContainerView.Dispose(); UserInputContainerView = null; } }