|
-
May 19th, 2004, 02:44 PM
#1
Thread Starter
Junior Member
Cancel a closing window
Anyone knows how to cancel a closing window when a user closes it in the cross button in the caption bar.
I have an application and i want to get a confirmation before closing it.
When a user uses the cross button near the maximize and minimize button i want to get a message box with a cancel button to undo this close.
I tryed the closed event but the window still closes....
Any suggestions?
Thanks in advanced
-
May 19th, 2004, 03:30 PM
#2
yay gay
In the OnClose(or something like that) event just put
sabes quem sou? :P
\m/  \m/
-
May 19th, 2004, 08:00 PM
#3
Thread Starter
Junior Member
hehe ty, it works!!
Acho que sei quem és!!! Mas já n via esse nome à bues!!!
Tás a dominar c#!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|