I have a form with four tabs total, but only two of which accept input. The tab control is called tabControl1 and the two tabs that accept input are tabAddUser and tabDisclaimer. On the Ass User tab I want the initial focus to go to txtFirstName and on the Disclaimer tab I want it to be set to rtbDisclaimer. I've searched around with no luck finding quite what I was looking for. This is the closest I found, but the focus wasn't set to anything when I ran it and selected the Add User tab.
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
if (tabControl1.SelectedTab == tabAddUser)
{
txtFirstName.Focus();
}
}