Invoke one form from another in Visual C++
it seems开发者_开发百科 simple question but so far I haven't found the answer. I have 2 forms in my Visual C++ project, and want invoke one from another on button click. How do i do this?
Well, I just novice and even this simple question could take my 30 mins to find solution. If you also novice and wonder how to do this, here it is:
include "Form2.h" in Form1.h
in Form1.h on click:
Form2 ^r = gcnew Form2(); r->Show(this);
精彩评论