问题 填空题

假定建立了一个工程,该工程包括两个窗体,其名称(Name属性)分别为Form1和Form2。启动窗体为 Form1,在Form1上画一个命令按钮Command1,程序运行后,要求当单击该命令按钮时,Form1窗体消失,显示窗体Form2,在横线处将程序补充完整。
Private SubCommand1_Click()
Unload Form1
Form2. 【7】
End Sub

答案

参考答案:Show

解析: 一般来说,可以使对象消失的方法有:一是使用对象的Hide方法来使得对象隐藏;二是设置对象的Visible属性,使之等于False从而隐藏;还有就是用Unload语句可以使得窗体消失,是从内存中卸载对象。

计算题
单项选择题

It sounds like a science fiction, but researchers say it’s a scientific fact: Microscopic organisms dubbed "killer algae" are paralyzing fish with unknown toxins and then eating away at their flesh. They might be making people sick, too.
The name given to this single-cell organism, or dinoflagellate, is Pfiesteria piscimorte- literally, "fish killer. " It was discovered at North Carolina State University in 1988, but at the same time, few scientists believed in its existence, much less in its highly unusual predatory nature. But ongoing research has led to international acknowledgment of the phenomenon and, recently, research funding.
Seemingly prompted by an unknown substance secreted by fish, the aggressive creature swims into action. It sends neurotoxins into the water and air, paralyzing a fish’s nervous system, and causing it to gasp for air at the surface. Eventually the fish suffocates. The killer dinoflagellate then attaches itself to the fish and begins sucking away at its flesh. This macabre scenario may help solve several sea mysteries, such as why fishermen report seeing "fish walks" (fish trying to leave the water) and pools of dead fish with holes eaten through them.
Whether humans are affected by the dinoflagellate’s toxin remains to be seen. Researchers think it’s unlikely eating fresh fish are in danger, but anyone with frequent exposure to the creature could be in peril. Several researchers working with the algae have reported bouts of memory loss and disorientation.
To understand the killer algae further, scientists must fully characterize their toxin and determine what stimulates them to attack. They also need to know if the algae are hurting fish populations, and whether pollutants make them more likely to attack.

All the following names are used to describe the organism EXCEPT ______.

A. dinoflagellate


B. Pfiesteria piscimorte
C. killer algae


D. a science fiction