GIF动画在Windows窗体中不起作用 [英] GIF Animation not working in Windows Form

查看:104
本文介绍了GIF动画在Windows窗体中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Form2使用Infragistics ultraTabControl. 在选项卡上,更改即时消息显示Form1.

Form2 uses Infragistics ultraTabControl. On Tab Changing im Showing Form1.

我为PictureBox分配了动画GIF

我正在这样显示Form1.

I am displaying Form1 like this.

Form1 frmOne=new Form1();
frmOne.Show();

问题

GIF没有播放动画.

Problem

GIF is not playing animation.

推荐答案

已解决

我当前的主题正忙于播放GIF动画.

Solved

My current Thread is busy to Play GIF Animation.

我尝试了许多方法,例如Application.DoEvents();.等等. 但是所有的事情都帮不了我.

I tried So many ways like Application.DoEvents(); etc. But every thing can't helped me.

以下使用线程的问题中的答案是一个很好的工作思路.

The answer in the following Question, which uses Threading is a very great working idea.

StackOverFlow:显示/隐藏启动画面

谢谢大家.

这篇关于GIF动画在Windows窗体中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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