c# 2010 winforms update animated gif without using application.doevents
Posted on 2013-06-06
I have an application which has a few processes which can take some time to complete, especially over the network. So to give the user some feedback, I have a hidden panel, which I make visible once the process starts, and remove it from the screen when the process finished... in the panel I have a animated gif (ajax load type) and a message saying the system is thinking...
trouble it, the animated gif doesn't update without doing an application.doevents (putting this in makes the process take twice as long)
so is there any way for me to refresh the animated gif so that the animation will play fluid?