What happens after a form that has been displayed with the ShowDialog method is closed by the user?
What happens after a form that has been displayed with the ShowDialog method is closed by the user?
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter6: Sub And Function Procedures
Section: Chapter Questions
Problem 3MQ2
Related questions
Question
What happens after a form that has been displayed with the ShowDialog method
is closed by the user?
Expert Solution
Step 1
ANS: -
The moment the Close button of the form is clicked it does the following things: -
- It makes the form hidden.
- The form result is represented by the DialogResult property.
- DialogResult.Cancel is set to the property named DialogResult.
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
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning