SDG Toolkit

SdgManager.RelativeTo Property

Gets or sets the Control class to which all mouse events will be relative to

public System.Windows.Forms.Control RelativeTo {get; set;}

Remarks

This function makes all cursor coordinates relative to a particular part of the screen. This function allows a user to make their coordinates relative to a particular control.

Example

C# Eg., sdgManager1.RelativeTo = this;

See Also

SdgManager Class | Sdgt Namespace