clone

  1. D

    How to properly open a Image using Bitmap Class and dispose it properly

    I am looking for a code snippet which opens a image, creates a clone of this bitmap in memory disposes this opened image so that all handles are closed. Usually we can open a bitmap using this Dim MyBit as new bitmap("C:\Image file.bmp") dim ClonedBit as bitmap = MyBit.clone MyBit.dispose the...
  2. M

    Copying an Object

    Sorry, still pretty new bear with me... I have a Class called People. I have an object called Roger, another called Sally. How can I copy my 'Roger' object over top of 'Sally' so they are identical?
Top Bottom