Environment: MS Visual Studio.net 2003
Windows Form Applications (.net)
I would like to have two or more Forms in the application, and I add a new form (Form2) to it (I want to design the new form in the design mode rather than dealing with the code, because it is much easier). But after running, the new form (Form2) did not show itself, why? I add the statement:
in the Form1.h, then the project cannot pass the compilation, how could I solve the problem? Thanks very much!
It's nice to post the error messages you get when a project can not be compiled. I assume you are actually using:
Other than that, we need some error messages.
no, I use the statement
It is the error C2352: nonlicet call of non-static member functions.
Because I do not use the english language version, so the error message may not be exact, I just translate it...