问题 问答题

在名为Form1的窗体上绘制一个文本框(名称Text1,Text属性为“我”,Font属性为“宋体”)和一个水平滚动条(名称HSI)。在属性窗口中对滚动条设置如下属性:
Min 10
Max 500
LargChange 5
SmallChange 3
编写适当的事件过程,使程序运行后,若移动滚动条上的滚动框,则可扩大或缩小文本框的“我”字。运行后的窗体如下图所示。
注意:以上设置都只能在属性窗口中进行设置;文件必须存放在考生文件夹中,工程文件名为sj2.vbp,窗体文件名为sj2.frm。

答案

参考答案:①新建一个名为Form1的窗体。
②单击工具箱中的TextBox控件图标,在窗体上拖拉出一个文本框,在属性窗口设置该文本框名称为Text1,Text属性为“我”。
③单击工具箱中的HScrollBar控件图标,在窗体上拖拉出一个水平滚动条,在属性窗口设置该水平滚动条名称为HS1,Max为100,Min为10,LargeChange为5,SmallChange为2。
④打开代码窗口,输入如下代码:Text1.FontSize=HS1.Value
End Sub
⑤按要求保存文件即完成本题。

阅读理解

阅读理解。

     The doctor handed me my medicine and said sorry to me because his register (收银机) had already

closed. He asked if I would mind using the register at the front of the store. I told him not to worry and

walked up front. One person was in line ahead of me, a little girl no more than seven with a bottle of medicine

on the counter (柜台). She held a little green and white coin purse closely to her chest (胸口).

     The purse reminded me of the days when, as a child, I liked dressing myself up in my grandma's clothes.

One day, wearing her large clothes and hat, I went out to buy something. I gave a fake (假的) dollar to the

shop owner, but he handed back some real coins for my purse."Keep the change!" he told me with a smile.

     Now, with both hands shaking, the little girl pulled out a dollar bill and some coins for her medicine. As

she tried to count her money, I could see right away that she was about a dollar short. Quickly, I put a dollar

bill onto the counter. The child collected her change into her coin purse and ran out.

     As I walked to my car, I felt a tug (用力拉) on my shirt. There was the girl, looking up at me with her

big brown eyes. She gave me a smile, and put out her little hand. It was full of coins. "Thank you," she said.

     "That's OK," I answered, smiling. "Just keep the change!"

1. The doctor said sorry to the writer because ________.

A. his register had broken down

B. his register had closed

C. he was busy

D. he had used up his medicine

2. Which of the following statements about the little girl is Not true according to the passage?

A. She was careful.

B. She didn't have enough money for the medicine.

C. She was kind.

D. She returned the dollar to the writer.

3. The writer helped the girl because ________.

A. the girl had no money

B. the girl wanted to use some fake money

C. the girl made the writer think of her own childhood

D. the writer was very rich

4. What does the underlined word "short" mean?

A. 矮的

B. 短的

C. 不足的

D. 短缺的

5. The writer told the girl to keep the change because ________.

A. the writer didn't need it

B. the writer wanted to pass on love

C. the writer was in a hurry

D. the writer didn't like coins

问答题 简答题