Hi,
I am developing a GUI using visual C++ 2005 express edition. I created a window forms (form1.h) with some buttons and codes. Next I added another new window forms (form2.h)with a single button.
I wish to link the form2.h to form1.h with a single button click. I searched and tried many method provided in forum but still not working.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
form1.Show();
}
I keep getting the error of form1 not identify. Why is it so? Can some1 provide me some help?
Thanks.
Regards,
Adrian