试题详情
多项选择题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
  • 关注下方微信公众号,在线模考后查看

热门试题