ParentControlDesigner::OnSetCursor Method ()

 

Provides an opportunity to change the current mouse cursor.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected:
virtual void OnSetCursor() override

This method sets the mouse cursor according to the following rules: If the toolbox service has a tool selected, it allows the toolbox service to set the cursor. Otherwise, the mouse cursor is set to the default mouse cursor.

.NET Framework
Available since 1.1
Return to top
Show: