Activate tabpage of TabControl
问题 I am using TabControl in #.NET application. By default first tab page of TabControl is showing in form loading. I want to activate/show other tab pages in form loading. Programmatically, how can I show other tab page? 回答1: tabControl1.SelectedTab = MyTab; 回答2: You can use the method SelectTab . There are 3 versions: public void SelectTab(int index); public void SelectTab(string tabPageName); public void SelectTab(TabPage tabPage); 回答3: There are two properties in a TabControl control that