public override void MouseUp (NSEvent theEvent)
{
PointF point = this.ConvertPointFromView (theEvent.LocationInWindow, null);
var button = (MouseButtons)theEvent.ButtonNumber;
this.Host.FireMouseUp (Host, new MouseEventArgs (button, theEvent.ClickCount, (int)point.X, (int)point.Y, 0));
base.MouseUp (theEvent);
}
public override void MouseDown (NSEvent theEvent)