void ReleaseDesignerOutlets() { if (CreateNewAccountLabel != null) { CreateNewAccountLabel.Dispose(); CreateNewAccountLabel = null; } if (EmailAddressInput != null) { EmailAddressInput.Dispose(); EmailAddressInput = null; } if (LoginButton != null) { LoginButton.Dispose(); LoginButton = null; } if (PasswordInput != null) { PasswordInput.Dispose(); PasswordInput = null; } }
private void ConfigureGestureRecognisers() { var tapGesture = new UITapGestureRecognizer(NavigateToCreateAccount); CreateNewAccountLabel.AddGestureRecognizer(tapGesture); }