/// <summary> /// If the browser allows dropping, the wrappers for drag/drop are initialised and the events are registered /// </summary> private void InitDragDrop() { if (AllowDrop) { tvDropWrapper = new BrowserTVDropWrapper(this); tvDropWrapper.Drop += new DropEventHandler(DropWrapper_Drop); tvDragWrapper = new BrowserTVDragWrapper(this); tvDragWrapper.DragStart += new DragEnterEventHandler(DragWrapper_DragStart); tvDragWrapper.DragEnd += new EventHandler(DragWrapper_DragEnd); } }
/// <summary> /// If the browser allows dropping, the wrappers for drag/drop are initialised and the events are registered /// </summary> private void InitDragDrop() { if (AllowDrop) { tvDropWrapper = new BrowserTVDropWrapper(this); lvDropWrapper = new BrowserLVDropWrapper(this); tvDropWrapper.Drop += new DropEventHandler(DropWrapper_Drop); lvDropWrapper.Drop += new DropEventHandler(DropWrapper_Drop); tvDragWrapper = new BrowserTVDragWrapper(this); lvDragWrapper = new BrowserLVDragWrapper(this); tvDragWrapper.DragStart += new DragEnterEventHandler(DragWrapper_DragStart); lvDragWrapper.DragStart += new DragEnterEventHandler(DragWrapper_DragStart); tvDragWrapper.DragEnd += new EventHandler(DragWrapper_DragEnd); lvDragWrapper.DragEnd += new EventHandler(DragWrapper_DragEnd); } }
/// <summary> /// If the browser allows dropping, the wrappers for drag/drop are initialised and the events are registered /// </summary> private void InitDragDrop() { if(AllowDrop) { tvDropWrapper = new BrowserTVDropWrapper(this); tvDropWrapper.Drop += DropWrapper_Drop; tvDragWrapper = new BrowserTVDragWrapper(this); tvDragWrapper.DragStart += DragWrapper_DragStart; tvDragWrapper.DragEnd += DragWrapper_DragEnd; } }