I know how to create custom controls using "Inherits" and extending that single control to add or change functionality. I also know how to add controls at run time. What I am wondering though, is it possible to create a single control that is comprised of multiple controls (a GroupBox containing a TextBox, two Labels, and three small Images, all with preset positions), so that rather than having to add 7 controls individually at run time, I can just add the custom GroupBox and all of the rest are automatically added and positioned? If so, how?
↧