0

I have user control consisting of a 2 buttons and a groupbox (C#). When I add controls inside this user control , I want them to be contained inside the groupbox and not the user control itself. Is there a way to do this ??

1 Answers1

0

Shouldn't be too difficult to do really.

myGroupBox.Controls.Add(control)

Another user left a bit more detailed answer which will probably be of use. Attach components to GroupBox in C#

Community
  • 1
  • 1
Sava Glodic
  • 103
  • 2
  • 6