protected void OnMotionNotifyEvent(object o, MotionNotifyEventArgs args) { Vector2Double position = new Vector2Double(args.Event.X, args.Event.Y); rootComponent.MouseMove(position); }