Which of the following statements is true after the user clicks on btnDisplay at run time?

A program contains two forms with the names Form1 and Form2. Form1 contains a
button called btnDisplay, and the following code is placed inside btnDisplay’s Click
event procedure.
Form2.ShowDialog()
MessageBox.Show("hello")
(A) Form2 appears behind Form1 and the user will be able to set the focus to either form.
(B) Form2 appears in front of Form1 and the user will only be able to set the focus to
Form2.
(C) A message box displaying the text “Hello” appears in front of Form2 and Form1.
(D) A message box displaying the text “Hello” appears behind Form2 and Form1.


(B) Form2 appears in front of Form1 and the user will only be able to set the focus to
Form2.

Computer Science & Information Technology

You might also like to view...

Which of the following operators associates from left to right?

a. = b. ?: c. %= d. /

Computer Science & Information Technology

Does the DHCP relay agent modify DHCP packets or the IP header? If so, what are the modifications?

What will be an ideal response?

Computer Science & Information Technology

In the Paste Special dialog box, selecting the Formatted Text (RTF) option will insert the Microsoft Access data with ________ format

A) a HTML B) no C) a table D) a database

Computer Science & Information Technology

What other built-in help options display a brief description of the given command?

A. whatis B. info C. apropos D. man

Computer Science & Information Technology