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
精彩评论