问题
单项选择题
对窗体编写如下事件过程:
Private Sub Form_ MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
If Button =2 Then
Print “AAAAA”
End If
End Sub
Private Sub Form_ MouseUp (Button As Integer,Shift As Integer,X As Single,Y As Single)
Print “BBBBB”
End Sub
程序运行后,如果单击鼠标右键,则输出结果为______ 。
A.AAAAA
BBBBB
B.BBBBB
C.AAAAA
D.BBBBB
AAAAA
答案
参考答案:A