I'm creating a WindowsForm form and I'm using a TabControl and would like to create an event that would change the tab being displayed.
I was able to change the content displayed with this.tabForm.TabPages["nomeTab"].Show();
or tabPage1.Show();
, both options worked, but only the content being displayed is changed, the selected tab remains the same.
How do I solve this problem?