Z
zacks
I have a class library that contains:
Public Class clsClassLibrary
Public Enum myMethods
METHOD1
METHOD2
End Enum
Private _method As myMethods
Public Property Method as myMethods
Get
Return _method
End Get
Set(ByVal value as myMethods)
_mymethod = value
End Set
End Property
End Class
This class library's DLL is added as a Reference to my main project.
In the main project I try to:
Dim myClassLibrary as New clsClassLibrary
myClassLibrary.Method = myMethods.METHOD1
But VS2005 tells me that myMethods is not declared. How come?
Public Class clsClassLibrary
Public Enum myMethods
METHOD1
METHOD2
End Enum
Private _method As myMethods
Public Property Method as myMethods
Get
Return _method
End Get
Set(ByVal value as myMethods)
_mymethod = value
End Set
End Property
End Class
This class library's DLL is added as a Reference to my main project.
In the main project I try to:
Dim myClassLibrary as New clsClassLibrary
myClassLibrary.Method = myMethods.METHOD1
But VS2005 tells me that myMethods is not declared. How come?