catch close / closing event

  • Thread starter Thread starter Andreas Schulz
  • Start date Start date
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
 
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;
 
Back
Top