V
Vmrincon
Hi!
I have a small problem...
I have a base class that has several constructors but all of them
have some parameters. It looks something like that...
Class 1
'Some properties
Sub New (Param1 as Type1)
Sub New (Param2 as Type2)
Sub New (Param3 as Type3)
Sub New (Param4 as Type4)
Now I want to declare a new clase that inherits from this one. The
reason for this class is to add some extra properties that the parent
class doesn´t need to have, so I will do something like this...
Class2 inherits Class1
'Extra properties
But now .NET ask me to declare a Sub New because the parent class
doesn´t have any constructor without parameters.... I wonder how can I
do that??? Could anyone help me????
Thank you!!!
I have a small problem...
I have a base class that has several constructors but all of them
have some parameters. It looks something like that...
Class 1
'Some properties
Sub New (Param1 as Type1)
Sub New (Param2 as Type2)
Sub New (Param3 as Type3)
Sub New (Param4 as Type4)
Now I want to declare a new clase that inherits from this one. The
reason for this class is to add some extra properties that the parent
class doesn´t need to have, so I will do something like this...
Class2 inherits Class1
'Extra properties
But now .NET ask me to declare a Sub New because the parent class
doesn´t have any constructor without parameters.... I wonder how can I
do that??? Could anyone help me????
Thank you!!!