c# - Clone a container control and its child controls during runtime -


i have windows forms container control (e.g. group box or panel) child controls. want copy/clone container control, exact copy of during runtime. how can achieve c#?

what want this:

groupbox groupnewbox; groupbox1.cloneto(groupnewbox); 

hi way copying object implement iclonable interface. far know, windows controls not implement interface, should create own conrtols derived container , child control implement iclonable interface.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -