单项选择题
在Visual Basic中,求圆面积的程序设计界面及代码如下图,后弹出如图所示的出错信息提示,引起该错误的语句是()
A.Dimr,s As Single B.r=Val(Text1.Text) C.s=3.14*r*r D.label3.Caption=Str(s)
A.Interval为属性名 B.1680为属性值 C.该对象的名称为Timer1 D.根据“Timer1Timer”可判断窗体名为Timer
A.Command1.Show="确定" B.Command1.Caption="确定" C.Command1.Name="确定" D.Command1.Visible="确定"