当我单击 form1 按钮 1 以显示 form2 但它显示错误是:
Object reference not set to an instance of an object.
表格1:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2. Show()
Me.Hide()
End Sub
End Class