Hi TCook,
Just a wild guess from my getting to know c# as I havn't ventured to any
serious codeing yet.
This error occurs because you have not explicilty added a call to the base
class'es constructor in your derived class'es constructor.Whe n you don't add
this call the compiler adds a parameterless base constructor call. I
havn't checked but would assume that the constructor for TabPageCollecti on
is passed some arguments.
If this is the case, you would have to add the following to your derived
class'es constructor. " :base(x,y,z...) " where x,y,z.. match the arguments
for the base class'es constructor, in this case TabPageCollecti on
If your base class had, as one of its constructors, a constructor that took
no arguments, you would have got away with not adding the :base(x,y,z...) to
your derived constructor. Must be that TabPageCollecti on does not have a
parameterless constructor amongst its constructors.
Hence the error message
No overload for method 'TabPageCollect ion' takes '0' arguments
could perhaps be more clearly stated as
'TabPageCollect ion' does not have a '0' argument constructor method
to overload from your derived class
First I tried to inherit from the TabPageCollecti on class but received the
following error message:
No overload for method 'TabPageCollect ion' takes '0' arguments
Can't help with the rest of your problem at the moment
Mark Carew
Brisbane Australia