I am working on an ERP project. it is a button on treeView box and when it is clicking on a button in treeView it must create a Tab with its content (content which is defined-designed before).
I can add a tab programically but how can I design its content?
Add a new user control to the project then use the designer to do controls/layout, then when you click all you do is add a new instance of the user control to the tab – probably docked to fill the tab unless your form’s size is fixed.