单项选择题窗体上有一个列表框和一个文本框,编写如下两个事件过程: Private Sub Form_Load() List1.Addltem 北京 List1.Addltem 天津 List1.Addltem 上海 Text1.Text= End Sub Private Sub List1_Click() Print Text1.Text+List1.Text End Sub 程序运行后,在文本框中输入“中国”,然后单击列表框中的“北京”,则输出结果为( )。
单项选择题有如下Sub过程: Sub Sun(x As Single, y As Single) t=x x=t y y=t Mod y End Sub 在窗体上的命令按钮Command1中,编写如下事件过程,执行该事件过程调用Sun过程,结果为( )。 Private Sub Command1_Click() Dim a As Single Dim b As Single a=5 b=4 Sun a, b Print a; b End Sub