visual basic studio exit button code code example
Example: visual basic studio button exit code
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim frm As New Form1
frm.Show()
Me.Close()
End Sub