how to make a copy of object

  • Thread starter Thread starter keith
  • Start date Start date
K

keith

Is there any way to copy an object which could be
e.g. a panel containing several controls?

Thanks
 
Kieth,

If the object implements the ICloneable interface then you can call the
Clone method to get a copy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top