i have form1, and i call form2 by using show(this) in form1.
I have in Form1
private: Form2^ form2;
private: Methode1(.... )
{
form2=gcnew Form2^();
form2->show(this);
};
my Question is: how can i close the owned Form (Form2).
i have form1, and i call form2 by using show(this) in form1.
I have in Form1
private: Form2^ form2;
private: Methode1(.... )
{
form2=gcnew Form2^();
form2->show(this);
};
my Question is: how can i close the owned Form (Form2).