Cursor = Cursors.WaitCursor和CurrentCursor = Cursors.WaitCursor有什么区别 [英] What's the difference between Cursor = Cursors.WaitCursor and CurrentCursor=Cursors.WaitCursor

查看:330
本文介绍了Cursor = Cursors.WaitCursor和CurrentCursor = Cursors.WaitCursor有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Me.Cursor.Current = Cursors.WaitCursor

将Me.Cursor的当前属性设置为Cursors.WaitCursor

和Me.Cursor.Current =游标。默认情况下将Me.Current

属性设置为存储在Me.Cursor中的某些内容(默认)。


或者是Cursors.Default一些进程宽的游标形状?


什么是正确的陈述?

我最重要的陈述是正确的如果我这样做会发生什么

Me.Cursor = Cursors。 WaitCursor

Me.Cursor = Cursors.Default


谢谢

解决方案

只是我,


为什么你不自己尝试一下?


Cor

试试看?我一直在玩它并阅读帮助。


" Cor Ligthert" <无************ @ planet.nl>在消息中写道

news:em ************** @ tk2msftngp13.phx.gbl ...

Just Me,

为什么你不自己尝试一下?

Cor



Just Me,

假设您的示例代码在表单中。


" Cursor"是一个类型(System.Windows.Forms.Cursor)
http://msdn.microsoft.com/library/de...classtopic.asp


和一个属性(Control.Cursor)
http://msdn.microsoft.com/library/de...ursortopic.asp

当前是共享属性的光标类型。

http://msdn.microsoft.com/library/de...rrentTopic.asp

Control.Cursor获取&设置控件的''(表单')光标。每个控件都可以使用不同的光标。请记住,Form继承(间接)来自

Control。


Cursor.Current得到&设置应用程序的光标。可以通过Control.Cursor以个别形式覆盖




希望这有助于

Jay


只是我 < GR **** @ a-znet.com>在消息中写道

news:eS ************** @ TK2MSFTNGP09.phx.gbl ...

Me.Cursor。 Current = Cursors.WaitCursor
将Me.Cursor的当前属性设置为Cursors.WaitCursor
并且Me.Cursor.Current = Cursors.Default将Me.Current
属性设置为某个(默认)存储在Me.Cursor中。

或者是Cursors.Default一些过程宽的光标形状?

什么是正确的声明?

我是顶级的陈述是正确的如果我做了会发生什么
Me.Cursor = Cursors.WaitCursor
Me.Cursor = Cursors.Default

谢谢


Does Me.Cursor.Current=Cursors.WaitCursor
set the current property of Me.Cursor to Cursors.WaitCursor
And Me.Cursor.Current=Cursors.Default set the Me.Current
property to something (default) stored in Me.Cursor.

Or is Cursors.Default some process wide cursor shape?

What is a correct statement?
I the top statement is correct what happens if I do
Me.Cursor=Cursors.WaitCursor
Me.Cursor=Cursors.Default

Thanks

解决方案

Just Me,

Why don''t you just try it yourself?

Cor


Try what? I''ve been playing with it already and reading the Help.

"Cor Ligthert" <no************@planet.nl> wrote in message
news:em**************@tk2msftngp13.phx.gbl...

Just Me,

Why don''t you just try it yourself?

Cor



Just Me,
Assuming your sample code is in a Form.

"Cursor" is both a type (System.Windows.Forms.Cursor)
http://msdn.microsoft.com/library/de...classtopic.asp

and a property (Control.Cursor)
http://msdn.microsoft.com/library/de...ursortopic.asp
Current is a Shared property of the Cursor type.

http://msdn.microsoft.com/library/de...rrentTopic.asp
Control.Cursor gets & sets the control''s (form''s) cursor. Each control can
have a different cursor. Remember that Form inherits (indirectly) from
Control.

Cursor.Current gets & sets the application''s cursor. Which can be overriden
by individual forms via Control.Cursor.

Hope this helps
Jay

" Just Me" <gr****@a-znet.com> wrote in message
news:eS**************@TK2MSFTNGP09.phx.gbl...

Does Me.Cursor.Current=Cursors.WaitCursor
set the current property of Me.Cursor to Cursors.WaitCursor
And Me.Cursor.Current=Cursors.Default set the Me.Current
property to something (default) stored in Me.Cursor.

Or is Cursors.Default some process wide cursor shape?

What is a correct statement?
I the top statement is correct what happens if I do
Me.Cursor=Cursors.WaitCursor
Me.Cursor=Cursors.Default

Thanks



这篇关于Cursor = Cursors.WaitCursor和CurrentCursor = Cursors.WaitCursor有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆