[单项选择题] 在窗体上先后画两个图片框,名称分别为Picture1和banana,banana中添加了香蕉图片(见图1),且将banana.DragMode属性设置为1。要求程序运行时,可以用鼠标把
[单项选择题] 在窗体上先后画两个图片框,名称分别为Picture1和banana,banana中添加了香蕉图片(见图1),且将banana.DragMode属性设置为1。要求程序运行时,可以用鼠标把banana拖曳到Picttne1中(见图2)。能实现此功能的事件过程是______。
A.Private Sub Form_DlagDrop(Source As Control,X As Single,Y As SinglbananMove Picture1.Left+X,Picture1.Top+Y End Sub
B.Private Sub banana_DragDrop(Source As Control,X As Single,Y As SinglSourcMove Picture1.Lefi+X,Picture1.Top+Y End Sub
C.Private Sub Picture1_DmgDrop(Source As Contro1,X As Single,Y AS SinglSourcMove Picture1.Left+X,Picture1.Top+Y End Sub
D.Private Sub Picture1_DragDrop(Source As Control,X As Single,Y As SinglbananMove bananLet+X,banaTop+Y End Sub
参考答案: