更多"当发生窗体的单击事件时,输出的第二行为( )。 Private S"的相关试题:
[单项选择]当发生窗体的单击事件时,输出的第二行为( )。
Private Sub Form_click( )
Dim N1 As Integer,N2 As Integer,N3 As Integer
N1=1:N2=1
Print N1;N2
Do
N3=N1+N2
Print N3;
N1=N2:N2=N3
Loop Until N3>=5
End Sub
A. 1 1 1
B. 2 3 5
C. 2 5 7
D. 2 3 4
[单项选择]执行下列程序后,鼠标单击窗体,输出结果为
Private Sub Form_Click( )
Print "Click";
End Sub
Private Sub Form_MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)
Print "Donw"
End Sub
Private Sub Form_MouseUp(ButtonAs Integer,Shift As Integer,X As Single,Y As Single)
Print "Up"
End Sub
A. DownUpClick
B. ClickDownUp
C. DownClickUp
D. UpDownCliek
[单项选择]执行下列程序后,鼠标单击窗体,输出结果为( )。
Private Sub Form_Click( )
Print“Click”;
End Sub
Private Sub Form_MouseDown(Button As Integer,Shift_
As Integer,X As Single,Y As Single)
Print “Donw”
End Sub
Private Sub Form_MouseUp(Button As Integer,Shift_
As Integer,X As Single,Y As Single)
Print“Up”
End Sub
A. J2DE
B. J2SE
C. J2ME
D. Y2EE
[填空题]某个窗体已编写以下事件过程。打开窗体运行后,单击窗体,消息框的输出结果为
Private Sub Form_Click( )
a=1
i=1
Do Until i>10
a=a+2
i=i+3
Loop
MsgBox a
End Sub
[填空题]某个窗体己编写以下事件过程。打开窗体运行后,单击窗体,消息框的输出结果为
Private Sub Form_Click( )
a=1
i=1
Do Until i>10
a=a+2
i=i+3
Loop
MsgBox a
End Sub