Exemple #1
0
        public override void MouseButtonUp(NSEvent theEvent)
        {
            PointF ui_pt = ParentScreen.ScreenToLayer(theEvent.LocationInWindow);

            if (PointInside(ui_pt))
            {
                OnActivate();
            }
        }