I am using Visual Studio 2005. I have programmed a class for a motor controller. A method of the motor controller class is SendMessage, which sends a string to the motor controller. The motor class has a collection of another class - digital inputs to the motor controller. To access the status of a particular input looks something like this: clsMotor.Inputs(1).Status. I want to be able to poll the inputs like such: clsMotor.Inputs.Poll. However, the Poll method in the Inputs collection needs to use the SendMessage method of clsMotor. But there is not an instance of clsMotor in my Inputs collection - thus a problem.

What's the best way to fix this problem?