catch close / closing event

A

Andreas Schulz

Hi,

I have a multiple form application and I want to intercept the
application closing by a modal dialog. So far everything works fine. I
registered the closing event and pop up a modal dialog. But what I want
now is to display the form again when the user denies closing the
application. Can anyone help me?

Thanks

Andreas
 
C

Chris Forsberg [MVP]

I think you mean that you want to cancel the closing of the form from the
Closing event, and you do that by

e.Cancel = true;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top