问题 单项选择题

在 Visual Basic中,要将一个窗体从内存中释放,应使用的语句是( )。

A.Hide

B.Unload

C.Load

D.Show

答案

参考答案:B

解析:Load语句格式:Load窗体名称  Load语句把一个窗体装入内存,执行Load语句后,可以引用窗体中的控件及其各种  属性,但此时窗体没有显示出来,“窗体名称”是窗体的Name属性;  Unload语句格式:Unload窗体名称  该语句与Load语句的功能相反,它清除内存中指定的窗体;  Show方法格式:[窗体名称].Show[模式]  Show方法用来显示一个窗体。如果省略“窗体名称”,则显示当前窗体。参数“模  式”用来确定窗体的状态,可以取两种值,即0和1(不是False和True)。当“模式”值为l   (或常量vbModal)时,表示窗体是“模态型”窗体,在这种情况下,鼠标只在此窗体内起作 用,不能到其他窗口内操作,只有关闭该窗口才能对其他窗口进行操作;当“模式”值为0 (或省略参数“模式”值)时,表示窗体为“非模态型”窗体,不用关闭该窗体就可以对其 他窗体进行操作;  Hide方法格式:[窗体名称].Hide  Hide方法使窗体隐藏,即不在屏幕上显示,但仍在内存中,因此它与Unload语句的 作用不一样。

选择题
单项选择题

People are indulging in an illusion whenever they find themselves explaining at a cocktail(鸡尾酒 ) party, say, that they are "in computers," or " in telecommunications," or "in electronic funds transfer". The implication is that they are part of the high-tech world. Just between us, they usually aren’t. The researchers who made fundamental breakthroughs in those areas are in a high-tech business. The rest of us are (11) of their work. We use computers and other new technology components to develop our products or to organize our affairs. Because we go about this work in teams and projects and other tightly knit working group(紧密联系在一起的工作小组 ), we are mostly in the human communication business. Our successes stem from good human interactions by all participants in the effort, and our failures stem from poor human interactions.
The main reason we tend to focus on the (12) rather than the human side of work is not because it’s more (13) , but because it’s easier to do. Getting the new disk drive installed is positively trivial compared to figurine out why Horace is in a blue funk(恐惧)or why Susan is dissatisfied with the company aver only a few months. Human interactions are complicated and never very crisp(干脆的,干净利落的) and clean in their effects, but they matter more than any other aspect of the work.
If you find yourself concentrating on the (14) rather than the (15) , you’re like the vaudeville character(杂耍人物)who loses his Keys on a dark street and looks for them on the adjacent street because, as he explains, "The light is better there!\

A.technology

B.sociology

C.physiology

D.astronomy