public void resetStuff() { num++; button1.Enabled = button2.Enabled = button3.Enabled = false; button1.Text = "Option 1"; button2.Text = "Option 2"; button3.Text = "Option 3"; posedQuestion.Text = ""; ActiveForm.Focus(); }
private void InputActivity_KeyDown(object sender, KeyEventArgs e) { if (e.KeyValue == 13) { StartInputActivity_Click(sender, e); ActiveForm.Focus(); e.Handled = true; e.SuppressKeyPress = true; } }
public void Bt_GotFocus(object sender, EventArgs e) { ActiveForm.Focus(); }