Images in Pic Box

bidar96605

New member
Joined
Aug 1, 2004
Messages
1
Programming Experience
Beginner
How to display different images in a picture box with a fade in / fade out effect.

Meaning

1. Display a image in a pic box After 10 secs , fade out the image and display a different image with a fade in effect. Code will be great.
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
Use the System.Drawing.Graphics.DrawImage method using a System.Drawing.Imaging.ImageAttributes with a colorMatrix applied (using the SetColorMatrix method of the ImageAttributes class). Use a timer to modify the Matrix33 property of the colorMatrix. The Matrix33 property modifies the alpha content of the image.

I've attached a sample app.
 

Attachments

Top Bottom