private void textBoxCredentials_TextChanged(object sender, EventArgs e) { pageCredentials.AllowNext = !string.IsNullOrEmpty(textBoxUsername.Text) && !string.IsNullOrEmpty(textBoxPassword.Text); }