窗体上有一个名为List1的列表框和一个名为Command1的命令按钮,并有下面的事件过程:程序运行时,选中一个列表项,然后单击Command1按钮,则产生的结果是( )。
A、若选中的不是最前面的列表项,则选中的列表项与它前一个列表项互换位置
B、选中的列表项与它前面的列表项互换位置
C、若选中的不是最后面的列表项,则选中的列表项与它后一个列表项互换位置
D、选中的列表项与它后面的列表项互换位置
相关问题推荐
-
窗体上有一个名称为Label1的标签;一个名称为Timer1的计时器,其Enabled和Interval属性分别为True和1000。编写如下程序:运行程序,将在标签中( )。
A、不停地依次显示字符“A”,“B”,“C”,“D”,直至窗体被关闭
B、依次显示字符“A”,“B”,“C”,“D”各一次
C、每隔1秒显示字符“A”一次
D、每隔1秒依次显示26个英文字母中的一个
-
Given classes defined in two different files: What is required at line 5 in class SomeApp to use the process method of BitUtils?()
A、 process(bytes);
B、 BitUtils.process(bytes);
C、 app.BitUtils.process(bytes);
D、 util.BitUtils.process(bytes);
E、 import util.BitUtils.*; process(bytes);
F、 SomeApp cannot use the process method in BitUtils.
-
在Excel2000工作表的单元格中,若输入的字符串长度超过该单元格的显示宽度,则下列叙述中正确的是()。
A、该字符串可能占用其左侧单元空间全部显示出来
B、该字符串可能占用其右侧单元空间全部显示出来
C、该字符串可能只在其所在单元空间全部显示出来,多余部分被其右侧单元格中的内容遮盖
D、该字符串可能只在其所在单元空间全部显示出来,多余部分被删除
-
在连续不间断的视频监控过程中,有价值的数据只有几秒钟。这体现的大数据特征是()。
A、数据体量大
B、数据类型繁多
C、数据价值密度低
D、处理速度快
-
Click the Exhibit button. Which three statements are true?()
ACompilation fails.
BThe code compiles and the output is 2.
CIf lines 16, 17 and 18 were removed, compilation would fail.
DIf lines 24, 25 and 26 were removed, compilation would fail.
EIf lines 16, 17 and 18 were removed, the code would compile and the output would be 2.
FIf lines 24, 25 and 26 were removed, the code would compile and the output would be 1.