题目内容:
s在窗体上先后画2个图片框,名称分别为Picture1和banana,banana中添加了图片(见图1),且将banana.DragMode属性设置为1。要求程序运行时,可以用鼠标把banana拖拽到Picture1中(见图2)。

能实现此功能的事件过程是( )
A.Private Sub Form_DragDrop(Source As Control,X As Single,Y As Single)
banana.Move Picture l.Left+X.Picture l.Top+Y
End Sub
B.Private Sub banana_DragDrop(Source As Control,X As Single,Y As Single)
Source.Move Picture 1.Left+X.Picture l.Top+Y
End Sub
C.Private Sub Picture1_DragDrop(Source As Control,X As Single,Y As Single)
Source.Move Picture1.Left+X.Picture1.Top+Y
End Sub
D.Private Sub Picture 1_LDragDrop(Source As Control,X As Single,Y As Single)
banana.Move banana.Left+X,banana.Top+Y)
End Sub
参考答案:
答案解析: