43 references to ImageAnimator
System.Drawing (1)
System.Drawing.cs (1)
66[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.ImageAnimator))]
System.Drawing.Common.Tests (27)
System\Drawing\ImageAnimator.ManualTests.cs (3)
54ImageAnimator.UpdateFrames(animation); 64ImageAnimator.Animate(bitmaps[imageName], handlers[imageName]); 72ImageAnimator.StopAnimate(bitmaps[imageName], handlers[imageName]);
System\Drawing\ImageAnimatorTests.cs (24)
11ImageAnimator.UpdateFrames(); 21Assert.False(ImageAnimator.CanAnimate(image)); 28ImageAnimator.Animate(image, (object o, EventArgs e) => { }); 35ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 38ImageAnimator.Animate(image, (object o, EventArgs e) => { }); 45ImageAnimator.UpdateFrames(image); 52ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 55ImageAnimator.UpdateFrames(image); 62ImageAnimator.StopAnimate(image, (object o, EventArgs e) => { }); 69ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 72ImageAnimator.StopAnimate(image, (object o, EventArgs e) => { }); 85Assert.True(ImageAnimator.CanAnimate(image)); 92ImageAnimator.Animate(image, (object o, EventArgs e) => { }); 99ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 102ImageAnimator.Animate(image, (object o, EventArgs e) => { }); 109ImageAnimator.UpdateFrames(animatedImage); 116ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 117ImageAnimator.UpdateFrames(); 124ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 125ImageAnimator.UpdateFrames(animatedImage); 132ImageAnimator.StopAnimate(image, (object o, EventArgs e) => { }); 139ImageAnimator.Animate(animatedImage, (object o, EventArgs e) => { }); 142ImageAnimator.StopAnimate(animatedImage, (object o, EventArgs e) => { }); 143ImageAnimator.StopAnimate(image, (object o, EventArgs e) => { });
System.Windows.Forms (15)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
756ImageAnimator.Animate(_image, OnFrameChanged); 764ImageAnimator.StopAnimate(_image, OnFrameChanged); 1193ImageAnimator.UpdateFrames(Image);
System\Windows\Forms\Controls\Labels\Label.cs (3)
863ImageAnimator.Animate(image, OnFrameChanged); 868ImageAnimator.StopAnimate(image, OnFrameChanged); 1252ImageAnimator.UpdateFrames(Image);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
969ImageAnimator.UpdateFrames(Image);
System\Windows\Forms\Controls\PictureBox\PictureBox.cs (3)
984ImageAnimator.Animate(_image, OnFrameChanged); 992ImageAnimator.StopAnimate(_image, OnFrameChanged); 1130ImageAnimator.UpdateFrames(Image);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (5)
1054if (bmp.RawFormat.Guid != ImageFormat.Icon.Guid && !ImageAnimator.CanAnimate(bmp)) 1091if (currentImage.RawFormat.Guid != ImageFormat.Icon.Guid && !ImageAnimator.CanAnimate(currentImage)) 2051ImageAnimator.Animate(image, OnAnimationFrameChanged); 2055ImageAnimator.StopAnimate(image, OnAnimationFrameChanged); 2452ImageAnimator.UpdateFrames(Image);