I have a main form and this way I click on a button and open another form , then when I open this other form I deactivate the main, until then everything well, then I wanted it when the user closed the second form , the main would resume working normally. I would like to do this using the event FormClosed
in the second form , so how will I re-enable the first form in the second code?
This is the part of the code that opens the form
if (numbersandletter->IsMatch(txta->Text) && (Convert::ToDouble(a) * letra) > 0){
Mat::Mat1^ mat1 = gcnew Mat1();
mat1->Show();
this->Enabled = false;
}
I open the secondary form and disable the parent.