Basically, I am creating a Windows Form with a Tab Control on it, and I want to have multiple types of tab pages for the different types of objects I will be editing the properties of. Basically like interface in Visual Studio, where you can have multiple tab pages of code, then multiple tabs of resource files, etc.
To do this, I figure that I will need to:
- Create a class inheriting from TabPage for each type of tabpage layout I would like.
- Make each of these classes accept a certain type of object in the constructor.
- In the constructor, create all the controls for that tab page and set the properties.
However, this means that I cannot design the tab pages in Visual Studio (I will need to code the layout by hand).
Am I going about this the correct way? Or is there a different way to approach this problem?