Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在制作windows窗体程序(应用程序),当用户登录时,他必须等待几秒钟才能进入。
我的问题是:如何获取沙漏光标,以便通知用户程序(应用程序)正忙于执行操作?
你可以使用
Me.Cursor = Cursors.AppStarting
或者
Me.Cursor = Cursors.WaitCursor
要将其设置回正常光标:
Me.Cursor = Cursors.Default