设已经在“菜单编辑器”中设计了窗体的快捷菜单,其顶级菜单为Bs,取消其“可见”属性,运行时,在以下事件过程中,可以使快捷菜单响应鼠标右键菜单的是( )。
A.Private Sub Form_MouseDownButtonAs Integer,ShiftAs Integer,- XAs Single,YAs Single) IfButton=2 Then PopupMenuBs,2 End Sub
B.Private Sub Form_MouseDownButtonAs Integer,ShiftAs Integer,- XAs Single,YAs Single) PopupMenuBs End Sub
C.Private Sub FOrm_MouseDownButtonAs Integer,ShiftAs Integer,- XAs Single,YAs Single) PopupMenuBs,0 End Sub
D.Private Sub Form_MouseDownButtonAs Integer,ShinAs Integer,- XAs Single,YAs Single) IfButton=vbLeftButton)OrButton=vbRightButton)Then PopupMenuBs End Sub