hi everyone..
I'm new here. i got a little problem with tab controlling.here is the problem...
I've added a new tab control with 3 tabs to my form. i want to hide tabpage2 on default view so I wrote tabpage2.dispose() method in formload event.
now I want to view that page by clicking a button placed in tabpage1.(tabpage1 is the default view) so i wrote,
1. tabpage2.show();
2. tabcontrol.selectedtab = tabpage2;
3. tabpage2.select();
but I couldn't get that tabpage again.
so, what should I do now??