public void Setup() { NaviBox.FullRowSelect = true; NaviBox.View = View.Details; NaviBox.AllowColumnReorder = true; NaviBox.LabelEdit = true; NaviBox.AllowDrop = true; AddHeader(); ListContent(); NaviBox.Refresh(); NaviBox.Click += new EventHandler(NaviBoxEvent_Click); NaviBox.DoubleClick += new EventHandler(NaviBoxEvent_DoubleClick); NaviBox.KeyDown += new KeyEventHandler(NaviBoxEvent_KeyDown); NaviBox.KeyUp += new KeyEventHandler(NaviBoxEvent_KeyUp); NaviBox.AfterLabelEdit += new LabelEditEventHandler(NaviBoxEvent_AfterLabelEdit); NaviBox.DragDrop += new DragEventHandler(NaviBoxEvent_DragDrop); NaviBox.DragEnter += new DragEventHandler(NaviBoxEvent_DragEnter); NaviBox.ItemDrag += new ItemDragEventHandler(NaviBoxEvent_ItemDrag); NaviBox.DragOver += new DragEventHandler(NaviBoxEvent_DragOver); NaviBox.DragLeave += new EventHandler(NaviBoxEvent_DragLeave); }