Пример #1
0
		protected override void CreateHandle ()
		{
			m_helper = new TrackBarMouseView ();
			m_view = m_helper;
			m_helper.Host = this;
			m_helper.Frame = new RectangleF (0, 0, 100, 25);
			m_helper.Activated += delegate(object sender, EventArgs e) {
				if (Scroll != null)
					Scroll (sender, e);
			};
		}
Пример #2
0
 protected override void CreateHandle()
 {
     m_helper            = new TrackBarMouseView();
     m_view              = m_helper;
     m_helper.Host       = this;
     m_helper.Frame      = new NSRect(0, 0, 100, 25);
     m_helper.Activated += delegate(object sender, EventArgs e) {
         if (Scroll != null)
         {
             Scroll(sender, e);
         }
     };
 }