public AnimatedImage GetAnimatebyIDImage() { AnimatedImage animatedImage = null; Bitmap image = IDKin.IM.Windows.Properties.Resources.login; if (image != null) { animatedImage = new AnimatedImage(); animatedImage.LoadSmile(image); } return(animatedImage); }
private void Change_Click(object sender, RoutedEventArgs e) { for (int i = 0; i <= 100; i++) { Paragraph p = new Paragraph(); AnimatedImage aimg = new AnimatedImage(); aimg.Stretch = System.Windows.Media.Stretch.None; System.Drawing.Image img; img = AnimatedControlTester.Resources.Resources.wrong; aimg.LoadSmile((System.Drawing.Bitmap)img); p.Inlines.Add(aimg); rich.Document.Blocks.Add(p); imgs.Add(aimg); } }
public AnimatedImage GetAnimatebyIDImage() { AnimatedImage animatedImage = null; Bitmap image = IDKin.IM.Windows.Properties.Resources.login; if (image != null) { animatedImage = new AnimatedImage(); animatedImage.LoadSmile(image); } return animatedImage; }