I am trying to use 3 or more images on top of each other (the top two being transparent). As I understand, the Picture box can only take two at any given time (counting the background). I then tried to load them into a panel (not using a picture box), with the hope of using the automatic scrollbar option. I was able to load the images perfectly but cannot get the scrolling option to work. I was loading the images in the panels on paint sub. The images are large and will require scrolling.
Here is an extract of the code:
wBmpWidth = Panel1.Width
wBmpHeight = Panel1.Height
bmp = Bitmap.FromFile(
bmp.MakeTransparent(Color.White)
bmp2 = Bitmap.FromFile(
bmp2.MakeTransparent(Color.White)
bmp3 = Bitmap.FromFile(
bmp3.MakeTransparent(Color.White)
g = e.Graphics
g.DrawImage(bmp, 0, 0)
g.DrawImageUnscaled(bmp2, 0, 0)
g.DrawImageUnscaled(bmp3, 0, 0)
Panel1.AutoScroll =
Panel1.AutoScrollMinSize = bmp.Size
anyone could make a suggestion, offer advice or point me to sample code I would be extremely gratefull
Regards Mike