You are creating a Windows Forms application by using the .NET Framework 3.5. The application displays employee names by using the TreeView control. You need to implement the drag and drop functionality in the TreeView control.Which two actions should you perform?()
- A、Set theAllowDrag property to true.Create an event handler for the DragOver event.
- B、Set theAllowDrag property to true.Create an event handler for the ItemDrag event to call the DoDragDrop method.
- C、Set theAllowDrag property to true.Create an event handler for the DragEnter event to call the DoDragDrop method .
- D、Create an event handler for the DragDrop event to handle the move or copy by itself.
- E、Create an event handler for the DragEnter event to handle the move or copy by itself.
正确答案:B,D
答案解析:有
微信扫一扫手机做题