'ParentFormID' cannot expose type 'Module1.ParentFormIDEnum' outside the project through class 'MyClass'.
Here is the related code:
Enum ParentFormIDEnum As Integer POReceiving = 1 Production = 4 Returns = 5 End Enum
End Module
Public WriteOnly Property ParentFormID() As ParentFormIDEnum Set(ByVal value As ParentFormIDEnum) miParentFormID = value End Set End Property
End Class
I'm not sure what this error means. All I'm trying to do is create a global enum and be able to use it in all areas of my program.
Hiya.
Having a sealed class being a container for methods, I might need to write many "Imports" on the top of it for all the methods that will be in the class.
Would this be a bad practice?