I am trying to create a class that inherits fromControlColl ection, but I am getting the compile error "Nooverload for method 'ControlCollect ion' takes '0' arguments",and VS highlights the constructor method:
public AvailabilityCol lection(Control owner)
{ _owner = owner; }
Here is what the .NET SDK has for the ControlCollecti onconstructor:
public ControlCollecti on(
Control owner
);
So, I'm not sure what exactly I'm doing wrong here.
I've also noticed (and this could be related) that theControlColle ction class usually seems to be instantiated byusing a 'CreateControlC ollection' method of a parent class,instead of directly using new ControlCollecti on(object). How canI implement this into a parent class for theAvailability Collection class?
User submitted from AEWNET (http://www.aewnet.com/)