单选题:在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: PrivateSubCommand1_Click

  • 题目分类:VB
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程:
PrivateSubCommand1_Click()
 DimaAsInteger,sAsInteger
a=8
s=1
  Do
 s=s+a
 a=a-1
LoopWhilea<=0
Prints;a
EndSub
程序运行后,单击命令按钮,则窗体上显示的内容是(  )。 A.79
B.340
C.97
D.死循环
参考答案:
答案解析:

窗体的MouseDown事件过程 Form_MouseDown(ButtonAsInteger,ShiftAsInteg

窗体的MouseDown事件过程 Form_MouseDown(ButtonAsInteger,ShiftAsInteger,XAsSingle,YAsSing

查看答案

JDK中提供的文档生成器是

JDK中提供的文档生成器是A.javexe B.B)javaexe C.C)javadoexe D.D)javaproexe

查看答案

Success Stories One of the most successful fashion companies

Success Stories One of the most successful fashion companies in the world is Ben

查看答案

Robots 1 The most sophisticated(先进的)Japanese robots, which h

Robots 1 The most sophisticated(先进的)Japanese robots, which have vision systems a

查看答案

George Strong was a very creative engineer.

George Strong was a very creative engineer. A.Right B.Wrong C.Not mentioned

查看答案