Answer the question
In order to leave comments, you need to log in
How to copy the GroupBox itself and all its children, and create this copy but lower than the original?
The bottom line is that, given a GroupBox (groupBox1) on the form (Form1) and you need to create the same GroupBox with all the child elements and their properties.
And plus to this, a copy should be created by pressing a button (button1)
Answer the question
In order to leave comments, you need to log in
Vladimir Kuznetsov , Create a UserControl
in it, place a groupbox
Then create any container on the form, and add these UserControls to it.
https://docs.microsoft.com/ru-ru/dotnet/api/system...
Additionally, bring the necessary properties out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question