2

I keep seeing terms like "shallow copy" and "deep copy," and I don't understand those one bit; could someone please help me with cloning an object (in my case, a simple button) and placing it on the form?

  • Using code, not in the object interface

  • This is in VB.net I'm pretty sure.

Thank you very much in advance!

Insane
  • 43
  • 1
  • 8
  • You should specify which language (and GUI framework) you're asking about. What have you tried/learned thus far? Also see [this post](http://stackoverflow.com/questions/184710/what-is-the-difference-between-a-deep-copy-and-a-shallow-copy). – Chris O Dec 20 '13 at 02:32
  • What about cloning objects in IDEs other than Visual Studio? – ta.speot.is Dec 20 '13 at 03:11
  • What is that? Sorry, I'm not *too* good at VB! :P – Insane Dec 20 '13 at 04:42
  • If you are using VS 2008 or VS 2010, you are **NOT** doing VB6. You are doing VB.NET. – Tim Dec 20 '13 at 07:00
  • If all you want is to clone a button, just copy/paste it in the IDE – jessehouwing Dec 20 '13 at 08:09

0 Answers0