I
I
iluxa18102016-02-24 00:14:15
.NET
iluxa1810, 2016-02-24 00:14:15

How to freeze the main form when a new form appears?

I call another form from the main form, and from another form I can call 1 more form. I do everything through ShowDialog ()
So, when I close the last form, the main form is unfrozen, although the affected form is still working.
How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan Pikulin, 2016-02-24
@adsllinkact

Try this:
At the last form, in the Close event, change the Enabled property for the main form in fasle

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question