问题 问答题

在名为Form1的窗体上绘制一个名为HS1的水平滚动条,请在属性窗口中设置它的属性值,满足以下要求:它的最大刻度值为200,最小刻度值为100,在运行时鼠标单击滚动条上滚动框以外的区域(不包括两边按钮),滚动框移动10个刻度。再在滚动条下面绘制两个名称分别为Lab1和Lab2的标签,并分别显示100和200,运行时的商体如下图所示。

注意:

文件必须存放在考生文件夹中,工程文件名为sjt1.vbp,窗体文件名为sjt1.frm。

 

答案

参考答案:

第一步:新建一个名为Form1的窗体;

第二步:单击工具箱中的HScrollBar控件图标,在窗体上拖拉出一个水平滚动条,在属性窗口设置该水平滚动条名称为HS1,Max为200,Min为100,LargeChange为10;

第三步:单击工具箱中的Label控件图标,在窗体上拖拉出两个标签,在其属性窗口设置名称分别为Lab1和Lab2,Caption属性分别为100和200;

第四步:按要求保存文件即完成本题。

解析:

本题主要考查HScrollBar控件属性的设置。

阅读理解

Three more cattle farms in Andong,North Gyeongsang Province,were found to have been infected with the deadly foot-and-mouth disease,Nov.2 2010,Thursday.People fear that livestock farms in other parts of the country could be hit by the virus soon.

On Monday,the disease was first detected on two pig farms in Andong,about half a year after the last disease broke out in Korea.A cattle farm in the area also fell victim to the animal disease the following day.

The Ministry for Food,Agriculture,Forestry and Fisheries made sure that three more cases of foot-and-mouth disease appeared on Thursday and decided to kill all the animals at the farms and others at nearby places to stop the spread of the virus to other regions.Over 800 cows and pigs within a 500 meter range of the infected farms were killed and buried underground.

“Three suspected cases were reported Wednesday,near the pig farms where the first outbreak was reported.The laboratory tests today showed that all three cattle farms were infected with the disease,” a ministry official said.Two newly infected cattle farms were less than 4 kilometers away from the two pig farms,while the third one was only 2.5 kilometers away.

The ministry also said another cattle farm in Andong reported suspected cases of foot-and-mouth disease on its livestock Thursday,indicating the disease will likely continue to spread across the city and possibly beyond.

The government has culled more than 33,000 animals near the affected farms Monday alone under its disease prevention program.Additionally,all 84 livestock markets across the nation were closed Wednesday for a period to prevent spread of the disease.

No suspected cases have been reported outside of Andong,but the government Thursday decided to destroy an additional 22,000 pigs at two farms in Boryeong,South Chungcheong Province.

小题1:Last time foot and mouth disease         .

A.broke out in North cattle farms

B.was controlled as soon as possible

C.happened in June,2010

D.destroyed almost all cattle in cattle farms小题2:How did the government deal with the disease?

A.The government controlled only the two farms.

B.The government had more animals killed.

C.The government tried to cure the sick animals.

D.The government hated to kill animals.小题3:The underlined word “culled” has the same meaning as         .

A.treated

B.killed

C.bought

D.sold小题4:From the last paragraph we can know that         .

A.22,000 pigs have been infected with the disease

B.22,000 pigs will be moved to other farms

C.Boryeong is also an infected area

D.22,000 pigs will go down to their death小题5:In which part of a newspaper can you most probably read the passage?

A.Today’s News

B.History and Culture

C.Entertainment

D.Science

单项选择题