You use the __________ constant to include the Exclamation icon in a message box.

Phương Linh

New member
You use the __________ constant to include the Exclamation icon in a message box.
A. MessageBox.exclamation
B. MessageBox.Iconexclamation
C. MessageBoxIcon.Exclamation
D. MessageBoxWarning.Icon
 
Answer: C
Explanation: The various constants like MessageBoxIcon.Exclamation is used to give icons in the Message Box. It is a constant to include the exclamation icon. MessageBoxIcon.Alert is another example which is used to give alert. MessabeBoxIcon.Close is another example, which gives the red-cross symbol.
 

Tìm kiếm

Back
Top