PDA

View Full Version : Animated GIFs in C#



alexgeek
December 24th, 2007, 05:53 AM
How can I allow an animated GIF for the background of my form in C#?
I read something about the threadpool class but I didn't understand.
The GIF is a resource accessed by:

global::dancingrabbit.Properties.Resources.rabbit1 5;

kirupa
December 25th, 2007, 12:34 PM
Threadpool is probably the most straightforward way of doing this, for only the first frame of an animated GIF is displayed by default. There isn't an easier way afaik.

alexgeek
December 26th, 2007, 05:44 PM
Okay I'll give it another read.
Cheers.