boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - PicutureBox and GIF
相关主题
Help , a entry level question about C#
新手举手提问
About mono
嵌入式Windows Media Player的问题
问个小问题
watermark animated gif 文件
SilverLight能做动画吗?
PicutureBox and GIF
how to convert eps to jpg in ubuntu?
这个有创意 Animated Photography (转载)
相关话题的讨论汇总
话题: gif话题: picturebox话题: rabbit话题: running
进入DotNet版参与讨论
1 (共1页)
c**t
发帖数: 2744
1
I have an animation gif file assigned to pictureBox:
pbStatus.Image = System.Drawing.Image.FromFile("runningRabbit.gif")
in designer the rabbit is running, but when run from debugger or released
app,
the rabbit is still. What's wrong?
c**t
发帖数: 2744
2
actually it's kind of working. When a long running job fired, as the
picturebox
running in the same thread, it's not redrawn. Once job is done, the
animation starts. I will try to use another thread for the picturebox.

【在 c**t 的大作中提到】
: I have an animation gif file assigned to pictureBox:
: pbStatus.Image = System.Drawing.Image.FromFile("runningRabbit.gif")
: in designer the rabbit is running, but when run from debugger or released
: app,
: the rabbit is still. What's wrong?

b****u
发帖数: 1027
3
it should be the other way probably?
fire up the long running job in separate thread.
1 (共1页)
进入DotNet版参与讨论
相关主题
这个有创意 Animated Photography (转载)
Gif animation stops when clicking a link.
这个有创意 Animated Photography (转载)
鱼版科普 2-如何制作 Gif 动画 插图, 兼回答 gy 的问题
一篇讲colts跑攻的文章
用工具查看了那张图片
3D ASCII Animated GIF
Re: do u like my new qmd?
Gif animation stops when clicking a link.
win10 app 给版上win10用户
相关话题的讨论汇总
话题: gif话题: picturebox话题: rabbit话题: running