Click to See Complete Forum and Search --> : .NET forms being silly


Roy-Svork
January 25th, 2005, 07:02 AM
I need to be able to pass a class of my own devising to a form in C++ .NET.

The form displays items in a linked list structure I created, and works fine. In the header for the form I declared a new member variable of the list type and it can access it no problem.

Then I have another form that needs to manipulate the same list in a different way, for admin purposes. I have tried to pass a pointer to a list class through the constructor, but for some reason this second form won't let me add member variables of type list. It is ok with strings, but none of the classes I have created myself.

I'm guessing it's something to do with managed extentions, but I'm not sure. All the classes I've created are managed, as well as the forms.

Anyone know where I'm going wrong?

AHMA.