Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
		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);
		}