Beispiel #1
0
 private void TabControl_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (TabControl.SelectedTab == TabPageTerminal)
     {
         TextBoxTerminalInput.Focus();
     }
 }
Beispiel #2
0
 private void TextBoxTerminal_Enter(object sender, EventArgs e)
 {
     TextBoxTerminalInput.Focus();
 }