0
Answer

Replacing a tab/tabpage with a new one - code attatched

Ask a question
I am working on a windows project that will open a form and the user input the searchable data(1st form) and after pressing a button it prints the result of his search (in a second form). In order to create this proccess I used tab and tabpage using the tabcontrol of vs2010.

The problem that I am facing is as soon as it click for the printing results because I am trying to replace the existing opened tab ( remove it) with the third tab-tabpage. The problem seems to be on tabControl1_Selected while following the process in the second opened tab-tabpage and onwords.

Can anyone help me to this issue?


Thanks in advanced

George

Attachment: pcode.zip