问题 单项选择题

工程中有2个窗体,名称分别为Form1、Form2,Form1为启动窗体,该窗体上有命令按钮Command1。 要求程序运行后单击该命令按钮时显示Form2,则按钮的Click事件过程应该是【 】

A.Private Sub Command1_Click() Form2.Show End Sub

B.Private Sub Commaad1 Click() Form2.Visible End Sub

C.Private Sub Command1_Click()Load Form2 End Sub

D.Private Sub Command1 Click() Form2 LoadEnd Sub

答案

参考答案:A

解析:本题考查的是命令按钮的Click事.件。根据题意,要想在单击命令按钮时显示一个窗体form2,则按钮的Click事件过程的代码应该是"Form2.show",即让Form2装入内存并显示出来,所以本题的正确答案是选项A);选项B)不正确,因为此时Form2并没有加载,如果用该语句并不能显示Form2;而选项C)只是加载Form2,并没有显示,选项D)不正确。

综合
阅读理解

Dear Aunty,

After years of her crying, I finally gave in and allowed my daughter to have a cat. I now regret my decision. As someone needs to have a clean, tidy house, I no longer feel relaxed in my own home. If I tell her, “sorry, the cat has to go.” She will be heartbroken. What can I do?

-Feline Phobic

Dear Phobic,

I’m an animal lover and on your kid’s and cat’s side. Tell your daughter your problem. Ask her to help you come up with a plan. Perhaps you can agree to allow the cat only in certain areas of the house. This is a chance for your daughter to develop the sense of responsibility owning a pet requires.

Dear Aunty,

I got the highest grade on a biology test. Now the popular kids think I’m brainy, and want me in their lab group. I knew I was being used. Now, they want my homework. What should I do?

-Lily

Dear Lily,

Popularity can come at a price, but it’s no excuse to cheat. Offer to help new friends with their homework, but don’t give them yours.

Dear Aunty,

I’m one of six assistants in a dental (牙科的)office. But I’m new there just four months. I’ve tried to join conversations, but they just ignore me. They go shopping together. No one invites me. How can I break into the circle?

-Crystal

Dear Crystal,

Humans run in packs like dogs. When a new dog enters the pack, a lot of discovery goes on. So bring cookies for everyone! Then try making friends with one co-worker. Invite her to lunch. When you get familiar with each other, tell her how hard you’re finding the situation at work. Chances are, she’ll take you under her wing.

小题1:Aunty thinks that Phobic should _____.

A.try to persuade her daughter to give in

B.spend more time cleaning the house

C.ask her daughter to help tidy up

D.find a better way to keep the cat小题2:The underlined word “brainy” in the passage means _____.

A.excited

B.friendly

C.intelligent

D.hard-working小题3:According to the passage, _____.

A.Phobic can’t get along well with her daughter

B.Aunty is fond of animals like cats

C.Crystal’s coworkers are cheating her

D.Lily has no interest in lab experiments