Click here to Skip to main content
15,887,328 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I've created a win form application, in which i have used tab system.. I can open multiple tabs and perform operations in it.. but my problem is that i want to close the particular tab.. I am not getting exact idea about that..

so pls help on closing the selected tab..

Thanks
Posted

Try:
C#
myTabControl.TabPages.Remove(myTabControl.SelectedTab);
 
Share this answer
 
I think this will help you

http://msdn.microsoft.com/en-us/library/aa984280%28v=vs.71%29.aspx[^]

Please search your queries on MSDN of Search engine.
 
Share this answer
 

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