Public Class frmwelcome3
Dim holsearch = frmholidaysearch
Private Sub btnholidayswelcome3_Click(sender As Object,
e As EventArgs) Handles btnholidayswelcome3.Click
Me.Hide()
holsearch.Show()
我收到错误...引用vb.net错误的非共享成员
答案 0 :(得分:1)
您需要创建类frmholidaysearch
的新实例。将=
替换为As New
。