Which one is more efficient?
100 image controls with loaded pictures
or
100 picture box with PaintPicture method
I read somewhere that image controls take up less memories than picture box.
Thank you.
Printable View
Which one is more efficient?
100 image controls with loaded pictures
or
100 picture box with PaintPicture method
I read somewhere that image controls take up less memories than picture box.
Thank you.
It depends what you want to do.The 100 image controls will certainly take up less memory but they dont have a device context.The picture boxes take up more memmory but have a DC. Although i would recommend using BitBlt API instead of PaintPicture cos BitBlt is much faster.
So the answer will be what you want to do with the pictures.If they just stay in the form use image controls else use picture box.