Reputation: 1
What would be the algorithm to make it so upon pressing a button inside the first tab of a tab control so that you get switched to second tab.
Upvotes: 0
Views: 4047
Reputation: 942307
private void button1_Click(object sender, EventArgs e) {
tabControl1.SelectedIndex = 1;
}
Upvotes: 4