Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
 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;
 }