#include "StdAfx.h" #include "Form2.h" namespace testForm { System::Void Form2::button1_Click(System::Object^ sender, System::EventArgs^ e) { textBox1->Text = currForm1->GetValeur(); } }