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 tuncerPosted Mar 7, 2016, 11:04 PM
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 tuncerPosted Mar 12, 2016, 11:29 PM
Sai Sravani PoondlaPosted Mar 11, 2016, 7:33 AM
ali tuncerPosted Mar 10, 2016, 8:21 PM
If you want to load third tab, you need to set SelectedIndex =2, 0 is the first tab..
Sai Sravani PoondlaPosted Mar 10, 2016, 11:21 AM
ali tuncerPosted Mar 8, 2016, 8:55 PM
ali tuncerPosted Mar 8, 2016, 8:20 PM
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 :
Sai Sravani PoondlaPosted Mar 8, 2016, 10:10 AM