I'm having trouble getting this situation to work:

I've got a gui that will take the user's input, and pass along the string to a function in another class, called Command(String^ str)

The command will process the input, and print off some statements using a function in the GUI's class called EnterText(String^ str)

What I'm having trouble with is, I seem to need to include command.h in my form to access Command(), but I need to have Form1.h in my command class to access the gui type.

I looked at some of the forward declaration information, but it seems that I wouldn't be able to access the functions of a class using this.

What would you guys recommend as a solution?