What is the difference between Form.Show() and Form.ShowDialog () Functions?.When can we use them?
VB.Net windows Application
Collapse
X
-
Showdialog opens the form as a modal window.Originally posted by dhivyarWhat is the difference between Form.Show() and Form.ShowDialog () Functions?.When can we use them?
any code after the showdialog method will be executed after the form (opened in showdialog mode) has been closed
A modal dialog is a form which stays topmost and does not let the user interact with any other forms (owned by the application)..
Give it a try !
Comment