Ejemplo n.º 1
0
 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();
 }
Ejemplo n.º 2
0
        private void InputActivity_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyValue == 13)
            {
                StartInputActivity_Click(sender, e);

                ActiveForm.Focus();

                e.Handled          = true;
                e.SuppressKeyPress = true;
            }
        }
Ejemplo n.º 3
0
 public void Bt_GotFocus(object sender, EventArgs e)
 {
     ActiveForm.Focus();
 }