Windows应用程序上的Gif图像-现在自行解决,一起移动. [英] Gif image on windows application - Now Self Solved, Move along.

查看:49
本文介绍了Windows应用程序上的Gif图像-现在自行解决,一起移动.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我有窗口应用程序,想插入GIF图像,但是它不起作用,它只能作为普通图像而不是电影!所以请给我代码以使其正常工作!就像GIF

hi guys!!! i have window application and want to insert GIF image but its not working its only work as a a normal image not like a movie !! so plz give me the code to get it work !!as GIF

Answered Below By Myself.

推荐答案

好,抱歉,我知道了!
这是我的代码

私有子项AboutApp_Load(ByVal发送者为System.Object,ByVal e As- System.EventArgs)处理MyBase.Load

PictureBox1.Image.RawFormat.Gif.ToString()

结束Sub
ok im sorry i got it !!!

and here my code

Private Sub AboutApp_Load(ByVal sender As System.Object, ByVal e As- System.EventArgs) Handles MyBase.Load

PictureBox1.Image.RawFormat.Gif.ToString()

End Sub


很高兴看到您回答了您自己的问题,但是您应该在原始问题的标题中反映出来,以阻止人们寻找.

同样,请给出代码"也不会鼓励任何人提供帮助.

更好地显示您拥有的代码并基于该代码寻求帮助.

人们愿意帮助您,但不会为您做.

祝您好运.
Nice to see you answered your own question, but you should reflect that in the title of the original question to stop people looking.

Also "Give Code Please" will not encourage anyone to help.

Better to show what code you have and ask for help based upon it.

People are willing to help, but not to do for you.

Best of Luck.


您可以使用ImageAnimator类.此处的示例代码:"Visual Basic 2005 .NET中的GDI +图形" .
:)
You may use the ImageAnimator class. Sample code here: "GDI+ Graphics in Visual Basic 2005 .NET".
:)


这篇关于Windows应用程序上的Gif图像-现在自行解决,一起移动.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆