I've seen people talking about generic user controls but I don't know how this would work. I can't find any examples of it either.

Basically what I want to do have a custom user control that contains a group box. The generic type would be some type of control or usercontrol. I would have something like... CustomListBox and then I want to be able to make a class like class TextboxListBox: CustomListBox or class ButtonListBox: CustomListBox