VB.Net windows Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dhivyar
    New Member
    • Oct 2007
    • 4

    #1

    VB.Net windows Application

    What is the difference between Form.Show() and Form.ShowDialog () Functions?.When can we use them?
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    Originally posted by dhivyar
    What is the difference between Form.Show() and Form.ShowDialog () Functions?.When can we use them?
    Showdialog opens the form as a modal window.

    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

    • dhivyar
      New Member
      • Oct 2007
      • 4

      #3
      I tried it..Thanks...

      Comment

      Working...