Method UpdateMousePosition
UpdateMousePosition(PointD?, Control)
Updates LastMousePosition
public static PointD UpdateMousePosition(PointD? position, Control control)
Parameters
position
PointD?Mouse position. If
null
, GetPosition(Control?) is used to get mouse position.control
Control