An application uses a message box to ask users whether they want to exit the application, and the return value is stored in thedlgButtonvariable. Write the statement needed to stop the computer from closing the form if the user selects the No button in the message box.
What will be an ideal response?
If dlgButton = Windows.Forms.DialogResult.No Then
e.Cancel = True
End If
Computer Science & Information Technology
You might also like to view...
What ActionScript class can be used to load text or data into a file?
What will be an ideal response?
Computer Science & Information Technology
What should you consider when deleting files or folders from a removable storage medium such as a flash drive?
What will be an ideal response?
Computer Science & Information Technology
Explain why it is important to back up your database before running an action query.
What will be an ideal response?
Computer Science & Information Technology
Explain how rescue media is used to boot a system.
What will be an ideal response?
Computer Science & Information Technology