问题
单项选择题
若看到程序中有以下事件过程,则可以肯定的是,当程序运行时 Private Sub Click_MouseDown(Button As Integer,_Shift As Integer,X As Single,Y As Single) Print “VB Program” End Sub
A.用鼠标左键单击名称为“Command1”的命令按钮时,执行此过程
B.用鼠标左键单击名称为“MouseDown”的命令按钮时,执行此过程
C.用鼠标左键单击名称为“MouseDown”的控件时,执行此过程
D.用鼠标左键或右键单击名称为“Click”的控件时,执行此过程
答案
参考答案:D