Exemplo n.º 1
0
		protected override void CreateHandle ()
		{
			m_helper = new ListBoxMouseView();
      m_view = m_helper;
			m_helper.Host = this;
			_dataSource = new ListboxDataSource(this);
			SetupTable();
			SetupColumn();
			m_helper.AutohidesScrollers  = true;
			m_helper.HasVerticalScroller = true;
			m_helper.HasHorizontalScroller = false;
			//this.AutoresizingMask = NSViewResizingMask.HeightSizable;
			m_helper.DocumentView = tableView;
		}
Exemplo n.º 2
0
 protected override void CreateHandle()
 {
     m_helper      = new ListBoxMouseView();
     m_view        = m_helper;
     m_helper.Host = this;
     _dataSource   = new ListboxDataSource(this);
     SetupTable();
     SetupColumn();
     m_helper.AutohidesScrollers    = true;
     m_helper.HasVerticalScroller   = true;
     m_helper.HasHorizontalScroller = false;
     //this.AutoresizingMask = NSViewResizingMask.HeightSizable;
     m_helper.DocumentView = tableView;
 }