I have two tabs in a form . The first form has some buttons which are common to the second tab. But there are some additional buttons in the second tab which need to be worked on . I have included the buttons in the second tab .But I am really confused how to make it functional like how do I step in my second tab and write the functions ? Can you help me out . I have class already made for the first tab . I need to include the other tab in that .
juhi1
0
Newbie Poster
Recommended Answers
Jump to PostI hope u have placed the main Tab control on the Main form.
For ur Tab control there is an Event 'SelectedPageChanged';
Use this event,
It ll work every time u click the either tabs.if(Tabcontrol.SelectedTabPage == searchTabPage) { if(objSearch != null) TabPage.Controls.Add(objSearch); }
Add this …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.