在窗体中添加一个列表框(ListBox1)和一个命令按钮,并编写如下代码: Private Sub Commandl_Click() Dim a, i, msg msg= Choose OK to add 100 items to your listbox. MsgBox msg For i=l To 100 a= a: &i List1. Addltem a Next i End Sub 程序完成的功能是 ( )
A.本程序使用Addltem方法增加100项给一个列表框
B.本程序使用Addltem方法向一个列表框中添加100项,其内容是数字1~100
C.本程序使用Addltem方法向一个列表框中添加的内容是1~100的和
D.本程序使用Addhem方法增加100个列表框