V
V
Vladimir Kuznetsov2020-06-03 09:49:26
C++ / C#
Vladimir Kuznetsov, 2020-06-03 09:49:26

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

1 answer(s)
V
Vladimir Korotenko, 2020-06-03
@PheonixOFF

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 question

Ask a Question

731 491 924 answers to any question