Hello everyone, I have a problem with inherit a class. I have this procedure:
Public Overloads Sub Add(name As String, layer As LayerInfo)
If Me.Contains(name) Then
Me.Remove(name)
End If
layer.manager = Me
layer.name = name
MyBase.Add(layer)
End Sub
And this class:
Public MustInherit Class LayerInfo
Public Enum ColorProcessTypes
None
Random
Legend
End Enum
And this child class which inherit from LayerInfo class
Public Class SqlDataSourceLayer
Inherits LayerInfo
Public Property source() As SqlDataSource
Get
Return m_source
End Get
Set(value As SqlDataSource)
m_source = value
End Set
End Property
When I called the procedur ...
Go to the complete details ...