如何显示类似进度条的gif图像,直到完成特定过程 [英] How to show a gif image like progressbar till the particular process is completed

查看:95
本文介绍了如何显示类似进度条的gif图像,直到完成特定过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#.net窗口应用程序中有特定要求.那就是我有一个gif图像,当填充gridview.if时,它显示了一个繁忙的过程.如果gridview填充完成,则可见的虚假图像..该图像必须显示到我的后端过程必须完成为止.请帮助我如何在Gridview填充过程中执行此操作...

I have a specific requirement in C#.net window application. That is i have one gif image which shows a busy process when fill gridview.if gridview fill completed then visible false image..This image has to show till my back end process has to be completed. Please help me how to do this in Gridview filling process...

推荐答案

此gif动画:
http://www.java2s.com/Code/CSharp/2D-Graphics/PlayGifanimation.htm [^ ]

要停止动画过程,您应该指定哪个进程填充gridview,无论如何,在链接显示的代码中,插入一个停止动画的变量,然后在填充过程结束时管理动画,即可看到它..其代码! :)
this for gif animation :
http://www.java2s.com/Code/CSharp/2D-Graphics/PlayGifanimation.htm[^]

for stopping proces of animation you should specify which process fills the gridview, anyway in the code showed by link, insert a variable that stops animation, then you manage the animation at the end of filling process, you see it .. its your code ! :)


这篇关于如何显示类似进度条的gif图像,直到完成特定过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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