vb switch between forms code example
Example: vb switch between forms
Private objFromForm As FormA
Sub New(FromForm As FormA)
InitializeComponent()
objFromForm = FromForm
End Sub
Private Sub FormB_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
objFromForm.Visible = True
End Sub