设已经在"菜单编辑器"中设计了窗体的快捷菜单,其顶级菜单为Bs,取消其"可见"属性,运行时,在以下事件过程中,可以使快捷菜单响应鼠标右键菜单的是
A. Private Sub Form_MouseDown(Button As Integer, Shift As Integer,_X As Single,Y As Single) If Button=2 Then PopupMenu Bs, 2 End Sub
B. Private Sub Form_MouseDown(Button As Integer, Shift As Integer,_X As Single,Y As Single) PopupMenu Bs End Sub
C. Private Sub Form_MouseDown(Button As Integer, Shift As Integer,_X As Single,Y As Single) PopupMenu Bs,0 End Sub
D. Private Sub Form_MouseDown(Button As Integer, Shift As Integer,_X As Single,Y As Single) If (Button=vbLeftButton) Or (Button=vbRightButton) Then PopupMenu Bs End Sub
查看答案
When will production start?
在窗体上画一个文本框,其名称为Text1,然后编写如下事件过程:
Private Sub Text1_KeyPress(KeyAscii As Integer)
Dim str As String
Str=Chr(KeyAscii)
KeyAscii=Asc(UCase (str))
Textl.Text=String(2, KeyAscii)
End Sub
程序运行后,如果在键盘上输入字母"b",则在文本框Text1中显示的内容是
A. bbb
BBB
C. BB
D. bb
听力原文:Man: Good morning. Maxton Products.
Woman: Oh, hello. I saw in the paper last week that you've got a vacancy for a secretary in your production department.
Man: Well, actually that vacancy was in the personnel department but the position's filled now. We are looking for a secretary in the sales department, though.
Woman: Thanks, but I'm not really interested...
?For questions 1-8 you will hear eight short recordings.
?For each question, mark one letter (A, B, or C) for the correct answer.
After you have listened once, replay each recording.
Which department has a vacancy at the moment?
A. Personnel
B. Sales
C. Production
Which chart are the two women talking about?