Click here to Skip to main content
15,878,814 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have two forms in my project. Form1 contains 4 tab and form2 contains one tab control which has 4 tabs. When i click button1 then only tabpage1 should be visible and left 3 tabpages should not be visible, during form2 load. And when button2 is clicked then tabpage2 should be visible and tab page 1,3,4 should not be visible during form2 load. And so on. Plz help me
Posted
Updated 26-Feb-13 8:15am
v2
Comments
Sandeep Mewara 26-Feb-13 12:31pm    
What help? where are you stuck? What have you tried so far?
ahmadamiri 26-Feb-13 12:50pm    
please an example could be
[no name] 26-Feb-13 14:14pm    
Help with what exactly?

1 solution

hey !
this can give you idea :
C#
private void button2_Click(object sender, EventArgs e)
{
   tabControl1.SelectedTab = tabPage2;
}

it is a tabcontrol which you can navigate on its tabs!
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900