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
Post a Comment