Search This Blog

Monday, November 22, 2010

Tutorial 11

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

No comments:

Post a Comment