开发者

gif animation not animating while making visible = true of PictureBox

开发者 https://www.devze.com 2023-01-12 12:50 出处:网络
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 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

精彩评论

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