Use something like
s. Stack them, as pointed before by a fellow programmer. But don't design them all in a class.
Create a base class:
public class MyTab : UserControl
Then, make and design your individual tabs in individual files:
public sealed class MyFirstTab : MyTab
public sealed class MySecondTab : MyTab
And so on...
Finally, in your
private List<MyTab> myTabs = new List<MyTab>();
Add the tabs to the
And add them to the
So, when you need one of them, you just have to remember its ordinal number. (If you want to refine it, you may store them in a
and refer them by name instead)
Hope that helps.
An Accept Answer helps me too