Click here to Skip to main content
15,923,164 members
Home / Discussions / C#
   

C#

 
AnswerRe: Single instantiation of Class Pin
PIEBALDconsult22-Feb-10 8:51
mvePIEBALDconsult22-Feb-10 8:51 
QuestionSocket Library Pin
rexbloom21-Feb-10 18:17
professionalrexbloom21-Feb-10 18:17 
Questionknow program installed in computer offline Pin
gpsushil21-Feb-10 18:14
gpsushil21-Feb-10 18:14 
QuestionMake Application Uninstall Available In Programs List Using Windows Installer Pin
BlitzPackage21-Feb-10 13:11
BlitzPackage21-Feb-10 13:11 
AnswerRe: Make Application Uninstall Available In Programs List Using Windows Installer Pin
Anubhava Dimri21-Feb-10 23:24
Anubhava Dimri21-Feb-10 23:24 
QuestionCant see TextBox1 in codeView [modified] Pin
It_tech21-Feb-10 7:19
It_tech21-Feb-10 7:19 
AnswerRe: Cant see TextBox1 in codeView Pin
Pete O'Hanlon21-Feb-10 9:22
mvePete O'Hanlon21-Feb-10 9:22 
QuestionQuestion on lifetime of context existance Pin
Michael J. Eber21-Feb-10 6:53
Michael J. Eber21-Feb-10 6:53 
AnswerRe: Question on lifetime of context existance Pin
Not Active21-Feb-10 7:14
mentorNot Active21-Feb-10 7:14 
GeneralRe: Question on lifetime of context existance Pin
Michael J. Eber21-Feb-10 8:47
Michael J. Eber21-Feb-10 8:47 
GeneralRe: Question on lifetime of context existance Pin
Not Active21-Feb-10 9:47
mentorNot Active21-Feb-10 9:47 
GeneralRe: Question on lifetime of context existance Pin
Michael J. Eber21-Feb-10 18:09
Michael J. Eber21-Feb-10 18:09 
GeneralRe: Question on lifetime of context existance Pin
Michael Eber23-Feb-10 10:19
Michael Eber23-Feb-10 10:19 
QuestionRetrieve database by using web service Pin
dalila y21-Feb-10 3:48
dalila y21-Feb-10 3:48 
AnswerRe: Retrieve database by using web service Pin
Not Active21-Feb-10 4:23
mentorNot Active21-Feb-10 4:23 
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 

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.