0
I have a form main and from this form I click on a button and open another form, So when I open this other form I disable the main one, so that’s okay, so I wanted when the user closes the second one form, the main one back to work normally. I would like to do this using the event FormClosed
in the second form, then how will I reactivate the first form in the code of the second?
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 form secondary and inattentive the main.
You are the first person I see using Winforms c/C++ :)
– Maniero
It’s Normal to Use What ?
– axell-brendow
C# and very eventually VB.Net.
– Maniero
WHAT IS THE ADVANTAGE ?
– axell-brendow
They are much easier languages and with more support from Microsoft at least for this technology (although the technology is already almost abandoned too).
– Maniero
Well I Prefer Performance Over An Easy Language, One Opinion Only, And As To That of Microsoft, It Really Is Very Boring.
– axell-brendow
How are you using . Net the performance of C++ isn’t all this. And performance for GUI application? Any GUI is so slow, but so slow that it can choose any language, it won’t matter. What people do is they take the excerpts that really need performance and optimize, eventually even in another, faster language. But for most things you won’t find much more performance in C++/CLI than in C#. You are looking for the performance without a justification for it. I believe you are still novice.
– Maniero
Add your relevant code to the question to try to help you.
– Tony