use construstor in different calss vb.net code example
Example: visual basic constructor
//Visual Basic
//Constructor
Public Class example
Public Sub New()
End Sub
End Class
//Visual Basic
//Constructor
Public Class example
Public Sub New()
End Sub
End Class