#pragma once #include "Form2.h" namespace Show { private: System::Void button1_Click(System::Object^sender, System::EventArgs^ e) { this->Hide(); Form^frm2=gcnew Form2(); frm2->Show(); } }; }
#pragma once #include "Form1.h" ...... private: System::Void Form2_FormClosed(System::Object^ sender, System::Windows::Forms::FormClosedEventArgs^ e) { Form^frm1=gcnew Form1(); frm1->Show(); } ......
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)