WaitCursor Constructor
Stores the current cursor and displays the wait cursor whenever the mouse pointer is over the specified user interface control. When the instance is disposed, the current cursor will be restored.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
control As Control _
)
public WaitCursor(
Control control
)
public:
WaitCursor(
Control^ control
)
new :
control:Control -> WaitCursor
public function WaitCursor(
control : Control
)
Parameters
- control
Type: System.Windows.Forms.Control
The user interface control over which the wait cursor should be displayed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.