Which of the following generates a message box with an OK button, an Info icon, "Hatfield Sales" in the title bar, and the message "Please enter a sales amount"? a. MessageBox.Display ("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information) MessageBox.Display("Hatfield Sales," "Please enter a sales amount," MessageBox.OKButton, MessageBox.InformationIcon) Message.Show ("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information) MessageBox.Show ("Hatfield Sales","Please enter a sales amount", MessageBoxButtons.OK,MessageBoxIcon.Information)
Which of the following generates a message box with an OK button, an Info icon, "Hatfield Sales" in the title bar, and the message "Please enter a sales amount"? a. MessageBox.Display ("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information) MessageBox.Display("Hatfield Sales," "Please enter a sales amount," MessageBox.OKButton, MessageBox.InformationIcon) Message.Show ("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information) MessageBox.Show ("Hatfield Sales","Please enter a sales amount", MessageBoxButtons.OK,MessageBoxIcon.Information)
Chapter12: Using Controls
Section: Chapter Questions
Problem 4E: Create a project named MyFlix. Its Form contains a ListBox with the titles of at least six movies or...
Related questions
Question
Which of the following generates a message box with an OK button, an Info icon, "Hatfield Sales" in the title bar, and the message "Please enter a sales amount"?
a. MessageBox.Display ("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information)
MessageBox.Display("Hatfield Sales," "Please enter a sales amount," MessageBox.OKButton, MessageBox.InformationIcon)
Message.Show ("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information)
MessageBox.Show ("Hatfield Sales","Please enter a sales amount", MessageBoxButtons.OK,MessageBoxIcon.Information)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning