J
Just Me
I want to be able to access the control members of a form from within a
class. So i designed my constructor something like this
Form1 parentForm;
ClassName ( Form1 frm )
{
parentForm = frm;
}
But when I try and pass the form to the class it errors.
ClassName myClass( this );
What am I doing wrong ???
Cheers
class. So i designed my constructor something like this
Form1 parentForm;
ClassName ( Form1 frm )
{
parentForm = frm;
}
But when I try and pass the form to the class it errors.
ClassName myClass( this );
What am I doing wrong ???
Cheers