Click here to Skip to main content
15,906,329 members
Home / Discussions / C#
   

C#

 
AnswerRe: Retrieve database by using web service Pin
Eddy Vluggen21-Feb-10 4:58
professionalEddy Vluggen21-Feb-10 4:58 
QuestionLooking for Generics Labs Pin
jakehn21-Feb-10 3:03
jakehn21-Feb-10 3:03 
AnswerRe: Looking for Generics Labs Pin
Not Active21-Feb-10 3:15
mentorNot Active21-Feb-10 3:15 
QuestionClosing application when windows shuts down Pin
davearias21-Feb-10 1:25
davearias21-Feb-10 1:25 
AnswerRe: Closing application when windows shuts down Pin
davearias21-Feb-10 1:43
davearias21-Feb-10 1:43 
GeneralRe: Closing application when windows shuts down Pin
Geoff Williams21-Feb-10 2:40
Geoff Williams21-Feb-10 2:40 
GeneralRe: Closing application when windows shuts down Pin
davearias21-Feb-10 10:33
davearias21-Feb-10 10:33 
AnswerRe: Closing application when windows shuts down Pin
Luc Pattyn21-Feb-10 2:44
sitebuilderLuc Pattyn21-Feb-10 2:44 
Hi,

AFAIK there is no need to override WndProc for this. Just add your handler to the SystemEvents.SessionEnding event and exit the application.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

GeneralRe: Closing application when windows shuts down Pin
davearias21-Feb-10 10:36
davearias21-Feb-10 10:36 
AnswerRe: Closing application when windows shuts down Pin
Luc Pattyn21-Feb-10 10:44
sitebuilderLuc Pattyn21-Feb-10 10:44 
QuestionMagic Numbers File Type checking Pin
Joezer BH20-Feb-10 22:09
professionalJoezer BH20-Feb-10 22:09 
QuestionReturn Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
shahramkeyboard20-Feb-10 20:58
shahramkeyboard20-Feb-10 20:58 
AnswerRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
Dan Mos20-Feb-10 21:02
Dan Mos20-Feb-10 21:02 
AnswerRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
shahramkeyboard20-Feb-10 21:07
shahramkeyboard20-Feb-10 21:07 
GeneralRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
Dan Mos20-Feb-10 21:23
Dan Mos20-Feb-10 21:23 
GeneralRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
shahramkeyboard20-Feb-10 21:55
shahramkeyboard20-Feb-10 21:55 
GeneralDoes this help? Pin
Dan Mos20-Feb-10 22:25
Dan Mos20-Feb-10 22:25 
GeneralRe: Does this help? Pin
shahramkeyboard21-Feb-10 1:46
shahramkeyboard21-Feb-10 1:46 
GeneralRe: Does this help? [modified] Pin
Dan Mos21-Feb-10 16:27
Dan Mos21-Feb-10 16:27 
AnswerRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
dan!sh 20-Feb-10 23:33
professional dan!sh 20-Feb-10 23:33 
GeneralRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer [modified] Pin
shahramkeyboard21-Feb-10 2:30
shahramkeyboard21-Feb-10 2:30 
GeneralRe: Return Dataset to Business Layer & SHOW in datagrid in Presentation Layer Pin
shahramkeyboard21-Feb-10 6:32
shahramkeyboard21-Feb-10 6:32 
Questiona problem about "bool Exists(Predicate<T> match);" Pin
wjp_auhtm20-Feb-10 19:35
wjp_auhtm20-Feb-10 19:35 
AnswerRe: a problem about "bool Exists(Predicate match);" Pin
dan!sh 20-Feb-10 20:25
professional dan!sh 20-Feb-10 20:25 
GeneralRe: a problem about "bool Exists(Predicate match);" Pin
wjp_auhtm20-Feb-10 22:09
wjp_auhtm20-Feb-10 22:09 

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.