Wednesday, November 3, 2010

Multiple Forms

If your application calls for multiple forms:

1. Create the required forms via the 'Add New Item' option.
2. Design the form as required.
3. To launch an instance of one form from another:

Dim FormInstanceName as New FormClassName
FormInstanceName.ShowDialog()

- Shows the form as a modal window.

Dim FormInstanceName as New FormClassName
FormInstanceName.Show()

- Shows the form as a normal window.

No comments:

Post a Comment