How can I duplicate a picturebox while running app in Winforms C# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can I duplicate a picturebox while running app in Winforms C#

For example, I have a picturebox with a picture of a square, and I need to duplicate that picturebox with that square picture.

14th Mar 2018, 11:21 PM
SebGM2018
SebGM2018 - avatar
1 Answer
+ 2
you can make a new object and add it to the parent forms controls. than set the new picturebox's properties to be equal to those of the original's.
15th Mar 2018, 4:41 PM
Akinni James
Akinni James - avatar