communication two forms

I want to pass my mainform to the child form with constructor. But when I added the MainForm.h to the childform class, it gives me error. How can I fix it?
You need to specify the framework you are using and you need to specify the error that you get. We are not mind readers around here, you know? :-)
Topic archived. No new replies allowed.