protected override void CreateHandle() { m_helper = new PanelMouseView(); m_view = m_helper; m_helper.Host = this; trackingArea = new NSTrackingArea(m_helper.Frame, (NSTrackingAreaOptions.MouseEnteredAndExited | NSTrackingAreaOptions.MouseMoved | NSTrackingAreaOptions.ActiveInKeyWindow), m_helper, new NSDictionary()); m_helper.AddTrackingArea(trackingArea); }
protected override void CreateHandle () { m_helper = new PanelMouseView(); m_view = m_helper; m_helper.Host = this; trackingArea = new NSTrackingArea(m_helper.Frame,(NSTrackingAreaOptions.MouseEnteredAndExited | NSTrackingAreaOptions.MouseMoved | NSTrackingAreaOptions.ActiveInKeyWindow), m_helper,new NSDictionary()); m_helper.AddTrackingArea( trackingArea); }