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
I have a thing I am not sure if it is a problem but its weird to me and I don't understand it. So if anyone has any idea or explanation I would appreciate if you told me.
I have a application with a tabcontrol. I dynamically open new tabs on which there is a custom control which is...