Which of the following creates a message box that displays an OK button, an Information icon, “Hatfield Sales” in the title bar, and the “Please enter a sales amount” message? a. MessageBox.Show("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information) b. MessageBox.Display("Hatfield Sales","Please enter a sales amount", MessageBox.OKButton, MessageBox.InformationIcon) c. Message.Show("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information)d. MessageBox.Show("Hatfield Sales","Please enter a sales amount", MessageBoxButtons.OK,MessageBoxIcon.Information)
Which of the following creates a message box that displays an OK button, an Information icon, “Hatfield Sales” in the title bar, and the “Please enter a sales amount” message? a. MessageBox.Show("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information) b. MessageBox.Display("Hatfield Sales","Please enter a sales amount", MessageBox.OKButton, MessageBox.InformationIcon) c. Message.Show("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information)d. 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 creates a message box that displays an OK button, an Information icon, “Hatfield Sales” in the title bar, and the “Please enter a sales amount” message?
a. MessageBox.Show("Please enter a sales amount", "Hatfield Sales", MessageBoxButtons.OK, MessageBoxIcon.Information)
b. MessageBox.Display("Hatfield Sales",
"Please enter a sales amount", MessageBox.OKButton, MessageBox.InformationIcon)
c. Message.Show("Please enter a sales amount", "Hatfield Sales", MessageButtons.OK, MessageIcon.Information)
d. 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.
This is a popular solution!
Trending now
This is a popular solution!
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
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
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
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