PC Review


Reply
Thread Tools Rate Thread

catch close / closing event

 
 
Andreas Schulz
Guest
Posts: n/a
 
      16th Sep 2003
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

 
Reply With Quote
 
 
 
 
Chris Forsberg [MVP]
Guest
Posts: n/a
 
      16th Sep 2003
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;

--
Chris Forsberg
Microsoft MVP - Mobile Devices
www.businessanyplace.net

"Andreas Schulz" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Andreas Schulz
Guest
Posts: n/a
 
      16th Sep 2003
Thank you for your help. That was exactly what I was looking for.



Chris Forsberg [MVP] schrieb:

> 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;
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I catch the Event of Closing Inspector from DLL addin in Outlo Bert_Bert Microsoft Outlook Form Programming 0 6th Sep 2008 07:02 PM
Catch the closing event of a form when clicked on X Michael Maier Microsoft Dot NET Compact Framework 2 27th Sep 2007 10:54 AM
Excel closing event (catch in a .net application) =?Utf-8?B?bS5haHJlbnM=?= Microsoft Dot NET 1 13th Dec 2004 06:45 PM
Catch IE Close event =?Utf-8?B?RWw=?= Windows XP Internet Explorer 0 29th Sep 2004 08:45 AM
Closing event not occurring when calling .Close( ) =?Utf-8?B?ZnBh?= Microsoft Dot NET Framework Forms 0 2nd Feb 2004 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:00 PM.