Activate tabpage of TabControl

Vyasdev Meledath picture Vyasdev Meledath · Oct 13, 2010 · Viewed 157.2k times · Source

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?

Answer

testalino picture testalino · Oct 13, 2010
tabControl1.SelectedTab = MyTab;