[英]Hourglass cursor in VB.NET
Im currently making windows forms program (application), and when the user logs into it, he must wait a few seconds before entering it. 我正在制作Windows窗体程序(应用程序),当用户登录时,他必须等待几秒钟才能进入。
My question is: How to get the hourglass cursor, so the user will be informed that the program (app) is busy performing an operation? 我的问题是: 如何获取沙漏光标,以便用户被告知程序(app)正忙于执行操作?
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.