Click here to Skip to main content
15,890,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to pick up multiple resultsets from a query Pin
Guffa19-Aug-05 2:17
Guffa19-Aug-05 2:17 
GeneralRe: How to pick up multiple resultsets from a query Pin
skooij19-Aug-05 2:27
skooij19-Aug-05 2:27 
GeneralRe: How to pick up multiple resultsets from a query Pin
Guffa19-Aug-05 2:43
Guffa19-Aug-05 2:43 
Generalimportant coding problem Pin
snouto19-Aug-05 0:53
snouto19-Aug-05 0:53 
GeneralRe: important coding problem Pin
Corinna John19-Aug-05 1:32
Corinna John19-Aug-05 1:32 
GeneralRe: important coding problem Pin
miah alom19-Aug-05 4:34
miah alom19-Aug-05 4:34 
GeneralRe: important coding problem Pin
Corinna John19-Aug-05 5:16
Corinna John19-Aug-05 5:16 
GeneralCancel closing a form Pin
bouli19-Aug-05 0:06
bouli19-Aug-05 0:06 
Hello gurus,

I'd like to know how to cancel the Closing event?

I mean, when the user click on the close button of the main window, I ask him if he wants to quit via the MessageBox class. If he answers no or cancel, the window does not close.

Can someone show me a code snippet please?

Thanks for the help.

Best regards.

Fred.



There is no spoon.
GeneralRe: Cancel closing a form Pin
Azerax19-Aug-05 1:05
Azerax19-Aug-05 1:05 
GeneralRe: Cancel closing a form Pin
bouli19-Aug-05 1:19
bouli19-Aug-05 1:19 
GeneralCannot get value because it is DBNull Pin
beqs18-Aug-05 23:47
beqs18-Aug-05 23:47 
GeneralRe: Cannot get value because it is DBNull Pin
Guffa18-Aug-05 23:53
Guffa18-Aug-05 23:53 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 0:39
Anonymous19-Aug-05 0:39 
GeneralRe: Cannot get value because it is DBNull Pin
Guffa19-Aug-05 0:51
Guffa19-Aug-05 0:51 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 1:31
Anonymous19-Aug-05 1:31 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 0:50
Azerax19-Aug-05 0:50 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 1:21
Anonymous19-Aug-05 1:21 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 2:37
Azerax19-Aug-05 2:37 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 2:41
Azerax19-Aug-05 2:41 
GeneralBoxing/unboxing objects Pin
JorisFromHolland18-Aug-05 22:08
JorisFromHolland18-Aug-05 22:08 
GeneralRe: Boxing/unboxing objects Pin
Guffa18-Aug-05 22:16
Guffa18-Aug-05 22:16 
GeneralRe: Boxing/unboxing objects Pin
Matt Gerrans18-Aug-05 22:29
Matt Gerrans18-Aug-05 22:29 
GeneralComparing strings Pin
binglin18-Aug-05 22:06
binglin18-Aug-05 22:06 
GeneralRe: Comparing strings Pin
Gavin Jeffrey18-Aug-05 22:13
Gavin Jeffrey18-Aug-05 22:13 
GeneralRe: Comparing strings Pin
Mohamad Al Husseiny18-Aug-05 22:21
Mohamad Al Husseiny18-Aug-05 22:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.