/// <summary>
 /// Focuses the user input text.
 /// Basically makes it so anytime a button is clicked
 /// the cursor stays in the user input textbox.
 /// </summary>
 private void FocusInputText()
 {
     //Focusing the cursor on the user input text box
     UserInputText.Focus();
 }
 /// <summary>
 /// Focuses the user input text
 /// </summary>
 private void FocusInputText()
 {
     UserInputText.Focus();
 }
Beispiel #3
0
 private void button17_Click(object sender, EventArgs e)
 {
     this.UserInputText.Text = string.Empty;
     UserInputText.Focus();
 }