System.Windows.Forms.Design.ParentControlDesigner.OnSetCursor Method

Provides an opportunity to change the current mouse cursor.

Syntax

protected override void OnSetCursor ()

Remarks

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.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0