对窗体编写如下事件过程:
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
程序运行后,如果右击鼠标,则输出结果为( )。
单项选择题
AAAAA
BBBBB
AAAAABBBBB
AAAAA
BBBBBAAAAA
答案:A
【原题】:对窗体编写如下事件过程:
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
程序运行后,如果右击鼠标,则输出结果为( )。