How do you show animated gifs with the .NET Compact Framework

I would like to display an animated gif on a .NET Compact Form . I am currently using the PictureBox control and toggle between .Visible = true and .Visible = false .

After .Visible = true , the gif is displayed, however it is not animated. How can I get the .NET Compact Framework to animate it?

I already tried this one , but it does not work.

+6
animation compact-framework picturebox
source share
1 answer

By default, the .Net Compact framework does not support displaying GIF-based animations in Windows form. It is possible to encode a custom animator that essentially does the same. Here is a link to a sample class for displaying GIFs in a compact structure.

http://msdn.microsoft.com/en-us/library/aa446483.aspx

+7
source share

All Articles