CSharp: How to goto next tab by pressing a button
What would be the algorithm to make 开发者_如何学Pythonit so upon pressing a button inside the first tab of a tab control so that you get switched to second tab.
private void button1_Click(object sender, EventArgs e) {
tabControl1.SelectedIndex = 1;
}
this.tabControl1.SelectedTab = tabPage2/*needed tab*/;
精彩评论