11. Linking Forms

One of the most common questions I have been asked about Visual Basic .NET is how to link forms together. This tutorial will explain how you can easily link one form to another with the click of a button. You don’t have to create multiple applications for different windows, it can all be done on the same application.

Code

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Form2.Show()
    End Sub

End Class