问题 单项选择题

文本框Text1的KeyDown事件过程如下:
Private Sub Text1_KeyDown(KeyCode As Integer,Shift As Integer)
End Sub
其中参数KeyCode的值表示的是发生此事件时( )

A.是否按下了Alt键或Ctrl键
B.按下的是哪个数字键
C.所按的键盘键的键码
D.按下的是哪个鼠标键

答案

参考答案:C

解析: KeyDown事件用于对用户按下键盘按键的响应,有两个参数是KeyCode和Shift,其中KeyCode是按下键的大写字母的ASCII码值。

选择题
单项选择题

When an invention is made, the inventor has three possible (1) of action open to him: he can give the invention to the world by publishing it, keep the idea (2) , or patent it.

A (3) patent is the result of a bargain (4) between an inventor and the state, hut the inventor gets a limited period of monopoly and publishes full details of his invention to the public after that period (5) .

Only in the most exceptional circumstances (6) the lifespan of a patent (7) to alter this normal process of events.

The longest extension ever (8) was to Georges Valensi; his 1939 patent for color TV receiver circuit was extended until 1971 because for most of the patent’s normal life there was no color TV to (9) and thus no hope for reward for the invention.

Because a patent remains permanently (10) after it has terminated, the shelves of the library attached to the (11) office contain details of literally millions of ideas that are free for anyone to use and, if (12) than half a century, sometimes even repatent. Indeed, patent experts often advise anyone (13) to avoid the high cost of conducting a search through (14) patents that the one sure way of violation of any other inventor’s right is to plagiarize a dead patent. Likewise, because publication of an idea in any other form (15) invalidates further patents on that idea, it is traditionally (16) to take ideas from other areas of print. Much modern technological advance is (17) on these presumptions of legal security.

Anyone closely (8) in patents and inventions soon learns that most "new" ideas are, in fact, as old as the hills. It is theft reduction to commercial practice, either through necessity or dedication, or through the availability of new technology, (19) makes news and money. The basic patent for the theory for magnetic recording dates back to 1886. Many of the original ideas behind television originate (20) the late 19th and early 20th century. Even the Volkswagen rear engine ear was anticipated by a 1904 patent for a cart with the horse at the rear.

1()

A.work

B.possibility

C.measures

D.courses