开发者

gif animation not animating while making visible = true of PictureBox

I am using n picturebox to show a "waiting" gi开发者_JAVA百科f animation when a user presses a 'log in' button in my C# form.

I added the gif image to the picturebox and set the visibility to false. When the user clicks on the login button I set the visibility of the picturebox to true. The problem is that the gif animation does not appear if visible property is set to true.

Please advise.


Place a panel over the gif and change the z-order instead of setting the visibility.

Or you could try this

PictureBox visible property does not work... help please

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜