编写如下事件过程: Private Sub Form-MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 Then Print"Hello" End If End Sub 程序运行后,为了在窗体上输出“Hello”,应在窗体上执行以下( )操作。A.同时按下Shift键和鼠标左键B.同时按下Shift键和鼠标右键C.同时按下Ctrl、Alt键和鼠标左键D.同时按下Ctrl

题目

编写如下事件过程: Private Sub Form-MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single) If Shift=6 And Button=2 Then Print"Hello" End If End Sub 程序运行后,为了在窗体上输出“Hello”,应在窗体上执行以下( )操作。

A.同时按下Shift键和鼠标左键

B.同时按下Shift键和鼠标右键

C.同时按下Ctrl、Alt键和鼠标左键

D.同时按下Ctrl、Alt键和鼠标右键


相似考题
参考答案和解析
正确答案:D
更多“编写如下事件过程:Private Sub Form-MouseDown(Button As Integer,Shift As Integer,X As Single ”相关问题
  • 第1题:

    定义一个List对象list,使用ArrayList的构造方法进行初始化,并且要求list中必须全部存放Integer类型的对象,以下语句正确的是()。

    A.List list = new ArrayList<Integer>();

    B.List list = new ArrayList ();

    C.List<Integer> list = new ArrayList<Integer>();

    D.ArrayList<Integer> list = new List<Integer>();


    List list = new ArrayList ();

  • 第2题:

    1、编写判断一个整数是否偶数的程序: isEven :: Integer -> Bool


    a%2==0

  • 第3题:

    定义一个List对象list,使用ArrayList的构造方法进行初始化,并且要求list中必须全部存放Integer类型的对象,以下语句正确的是()。

    A.List list = new ArrayList ();

    B.List list = new ArrayList<Integer>();

    C.List<Integer> list = new ArrayList<Integer>();

    D.ArrayList<Integer> list = new List<Integer>();


    A

  • 第4题:

    定义一个List对象list,使用ArrayList的构造方法进行初始化,并且要求list中必须全部存放Integer类型的对象,以下语句正确的是()。

    A.List list = new ArrayList ();

    B.List list = new ArrayList<Integer>();

    C.ArrayList<Integer> list = new List<Integer>();

    D.List<Integer> list = new ArrayList<Integer>();


    List list = new ArrayList ();

  • 第5题:

    8、下面哪些是将分数化为浮点数的正确定义?

    A.type Fraction = (Integer, Integer) rateq :: Fraction -> Float rateq (a,b) = a/b###SXB###B.type Fraction = (Integer, Integer) rateq :: Fraction -> Float rateq (a,b) = (fromInteger a)/ (fromInteger b)###SXB###C.type Fraction = (Integer, Integer) rateq :: Fraction -> Float rateq (a,b) = fromInteger (a/b)###SXB###D.type Fraction = (Integer, Integer) rateq :: Fraction -> Float rateq (a,b) = (fromIntegral a)/ (fromIntegral b)###SXB###E.ty
    A

  • 第6题:

    11、下面哪些定义是类型正确的?

    A.f :: (Integer, Integer) -> Float f (x,y) = x / y

    B.f :: (Integer, Integer) -> Float f (x,y) = (fromInteger x) / (fromInteger y)

    C.f :: (Integer, Integer) -> Float f (x,y) = 3*x + y

    D.f :: (Integer, Integer) -> Integer f (x, y) = 3*x + y


    AFT 通常由含有一个双氢呋喃环和一个氧杂萘邻酮(香豆素)的基本架构单位构成 AFT 分为 黄曲霉毒素B1(AFB1)、黄曲霉毒素 B2 (AFB2) 黄曲霉毒素G1(AFG1)、黄曲霉毒素 G2(AFG2) 黄曲霉毒素M1(AFM1)、黄曲霉毒素 M2(AFM2) B1、G1的呋喃环氢键异构。M1型氢键变为羟基。 1比2呋喃环上多了一个双键。