Original Post in C++ Board:
Environment: MS Visual Studio.net 2003
VC++>>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, the error is:Code:Form2::Show();
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...