Hi,
I created 2 window form using visual C++, I am trying to display the string typed by user in second window form's textbox.
Here is what i wrote, but the code is not working:
Form1.h
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
tabPage1->Text=Form2().textBox1->Text;
}