首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Static x As Integer Cls For i=1 To 2 y=y+x
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Static x As Integer Cls For i=1 To 2 y=y+x
admin
2012-03-22
22
问题
在窗体上画一个名称为Command1的命令按钮,然后编写如下事件过程: Private Sub Command1_Click() Static x As Integer Cls For i=1 To 2 y=y+x x=x+2 Next Print x,y End Sub 程序运行后,连续三次单击Command1按钮后,窗体上显示的是( )。
选项
A、4 2
B、12 18
C、12 30
D、4 6
答案
B
解析
转载请注明原文地址:https://kaotiyun.com/show/gFhp777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
关系模型的完整性规则是对关系的某种约束条件,包括实体完整性、【】和自定义完整性。
以下有关数组定义的语句序列中,错误的是______。
如果要将形状控件的内部设置为水平线,应将Fillstyle属性设置为【】。
下列叙述中正确的是______。
在窗体上画一个命令按钮,然后编写下列程序: PrivateSubCommand12_Click() Tt3 EndSub SubTt(aAsInteger) StaticXAsInteger X=X*a+
单击命令按钮时,下列程序的执行结果是 PrivateSubBook(xAsInteger) x=x*2+l Ifx<6Then CallBook(x) EndIf X=X*2+1 P
下列语句中,不能实现循环100次的是
如果要将窗体中的某个命令按钮设置成无效状态,应该动命令按钮的何种属性
在窗体上画两个名称分别为Text1、Texte2的文本框和一个名称为Command1的命令按钮,然后编写如下事件过程:PrivateSubCommand1_Click()DimxAsInteger,nAsInteger
以下程序的功能是:把当前目录下的顺序文件smtextl.txt的内容读入内存,并在文本框Texd中显示出来。请填空。PfivmeSubCommandl_Click()DiminDataAsStringText
随机试题
心电图检查A.肺性P波B.肢导低电压C.右束支传导阻滞D.V1、V2R/S>1E.V1、V2ST—T改变右心室肥大的心电图表现
属于淋巴细胞白血病特点的是
皮下斑点隐隐稀少,色淡红,压之不退,伴诸虚症状,此为皮疹高出皮肤,时现时隐,搔之连片,此为
男性,5岁,右腹股沟可复性肿物1年。下列哪项手术方法最适宜
非对称信息,是指某些行为人拥有另一些行为人不拥有的信息。根据上述定义,下列属于非对称信息的是:
弯弯的森林小道上,守林人停下来,把我领到一棵参天的古树边,用深沉的眼光在告诉我什么,于是,我抬起头。我突然惊讶地发现原来这是一棵刚刚遭到雷火劈伤的古树,______。那些冷冷的光秃秃的枝桠伸向天空,好像在寻找着什么……填入上面语段中空白处的句子,与
文字资料2008年全年完成邮电业务总量23841亿元,比上年增长20.7%。其中,邮政业务总量1402亿元,增长15.5%;电信业务总量22440亿元,增长21.0%。全年减少局用交换机156万门,总容量5.1亿门。年末全国固定及移动电话用户总
新闻播音
资本一帝国主义列强通过军事侵略和不平等条约对中国进行政治控制,表现在
A、Whentheyfailtomakecompromisesindisputes.B、Whentheyneedtimetorest.C、Whentheywouldliketorecallgoodtimes.D、
最新回复
(
0
)