Hourglass cursor in VB.NET

感情迁移 提交于 2019-12-10 22:32:39

问题


Im currently making windows forms program (application), and when the user logs into it, he must wait a few seconds before entering it.

My question is: How to get the hourglass cursor, so the user will be informed that the program (app) is busy performing an operation?


回答1:


You can use either

Me.Cursor = Cursors.AppStarting

or

Me.Cursor = Cursors.WaitCursor

To set it back to the normal cursor:

Me.Cursor = Cursors.Default


来源:https://stackoverflow.com/questions/50905079/hourglass-cursor-in-vb-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!