Hi,
I have been trying to solve this problem without any luck. Can someone please have a look at this code as it doesn't work
Thank you
After clicking a button I refresh the picture box the
code below is in the picbox.Paint event. Basically what I am trying to do is to write a series of thumbnails to a buffer, then show the screen with all the thumbnails in place,
I can do it without buffering but it is very slow.
Any help welcome
_Buffer= new Bitmap(363,420);
Graphics g = e.Graphics;
for (int y1 = 0; y1 < 12; y1++)
{
Point P1 = pp.Get_ThumbNail_Point_Pos(y1);
theImage = new Bitmap(pp.pics[y1]);
imgThumb = theImage.GetThumbnailImage(98, 98, null, new IntPtr());
g.DrawImage(_Buffer, P1);
theImage.Dispose();
}
e.Graphics.DrawImageUnscaled(_Buffer, 0, 0);
return;