help out this !
i have created four tabpages with in a tab control in Form1 ....In Form1 through third tabpage created a link to redirect to another form Form2 now i want to redirect back to the same third tabpage in Form1 from Form2
Please! give me solution

ali tuncerRank #1,499 · 1.1K reputationPosted Mar 7, 2016, 6:04 PM EST
make the tab control public in form1, it is private by default. In Form2 you can call like this:
f1.tabControl.SelectedIndex = 2;
f1.Show();
ali tuncerRank #1,499 · 1.1K reputationPosted Mar 10, 2016, 3:21 PM EST
If you want to load third tab, you need to set SelectedIndex =2, 0 is the first tab..
Sai Sravani Poondla30 reputationPosted Mar 8, 2016, 5:10 AM EST
ali tuncerRank #1,499 · 1.1K reputationPosted Mar 8, 2016, 3:20 PM EST
When it is public, method should be displayed in intellisense menu when you type period(.)
in solution explorer, there should be a file named form1.Designer.cs, in the end of file you should see something like this :
ali tuncerRank #1,499 · 1.1K reputationPosted Mar 8, 2016, 3:55 PM EST
Sai Sravani Poondla30 reputationPosted Mar 10, 2016, 6:21 AM EST
Sai Sravani Poondla30 reputationPosted Mar 11, 2016, 2:33 AM EST
ali tuncerRank #1,499 · 1.1K reputationPosted Mar 12, 2016, 6:29 PM EST