Basically, I am creating a Windows Form with a Tab control, and I want to have several types of tab page for different types of objects, which I will edit with properties. Basically, as an interface in Visual Studio, where you can have several pages of code tabs, then several tabs of resource files, etc.
To do this, I suppose I need:
- Create a class that inherits from TabPage for each type of tab layout I would like.
- So that each of these classes accepts a certain type of object in the constructor.
- In the designer, create all the controls for this bookmark and set the properties.
However, this means that I cannot create tab pages in Visual Studio (I will need to copy the layout manually).
Am I right about this? Or is there another way to approach this problem?
Sponman
source share