void InitializeComponent()
        {
            _treeMenu       = new ContextMenuStrip();
            _treeMenuHelper = new ActionMenuHelper();
            _treeMenuHelper.BuildContextMenu(_treeMenu);
            ContextMenuStrip = _treeMenu;
            HideSelection    = false;
            // Sort the nodes using their compare to function
            UseCompareTo = true;
            DragDropSupport ddSupport = new DragDropSupport(this);

            ImageList = PresentationMap._icons;
            _columns  = new ColumnHeaderCollection();
        }
Beispiel #2
0
		void InitializeComponent()
		{
			_treeMenu = new ContextMenuStrip();
			_treeMenuHelper = new ActionMenuHelper();
			_treeMenuHelper.BuildContextMenu(_treeMenu);
			ContextMenuStrip = _treeMenu;
			HideSelection = false;
			// Sort the nodes using their compare to function
			UseCompareTo = true;
			DragDropSupport ddSupport = new DragDropSupport(this);
			ImageList = PresentationMap._icons;
			_columns = new ColumnHeaderCollection();
		}