calll one winform from another c++/CLR

T

tasleem

hi all,
i have made winform applicaion in vs 2005 c++/CLR,
i have added another form into it, new win form.both forms have same project
and namespace.
i want to call second form from first first form,so i have made a object of
second form and use showDialog() to call second form,but when i declare the
object of second form i get compil time errors, undeclared "second class
name".

i searched a lot about that on net and then found to use /clr option in
compile but that did not help 2.
 
T

tasleem

thanks, it did worked, i thought both are in same namespace and pick the
class themself but my perception was wrong,
thanks once again. have a nice time.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top