Click here to Skip to main content
15,913,570 members
Home / Discussions / C#
   

C#

 
GeneralRe: Console Applications Pin
Darrall12-Jan-10 13:33
Darrall12-Jan-10 13:33 
GeneralRe: Console Applications Pin
CTF6612-Jan-10 14:19
CTF6612-Jan-10 14:19 
GeneralRe: Console Applications Pin
Not Active12-Jan-10 15:42
mentorNot Active12-Jan-10 15:42 
QuestionClose when made inactive Pin
will kirkby12-Jan-10 8:29
will kirkby12-Jan-10 8:29 
AnswerRe: Close when made inactive Pin
DaveyM6912-Jan-10 8:38
professionalDaveyM6912-Jan-10 8:38 
AnswerRe: Close when made inactive Pin
Rick Shaub12-Jan-10 8:38
Rick Shaub12-Jan-10 8:38 
GeneralRe: Close when made inactive Pin
will kirkby12-Jan-10 8:44
will kirkby12-Jan-10 8:44 
AnswerRe: Close when made inactive Pin
#realJSOP13-Jan-10 0:26
professional#realJSOP13-Jan-10 0:26 
Do you want to close the app, or hide the window?

Either way, handle the LostFocus event for the form, and do what you want there. Calling Close() in that handler will close the application.

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

QuestionCreate mail acount in exchange server Pin
zeeShan anSari12-Jan-10 4:53
zeeShan anSari12-Jan-10 4:53 
QuestionBring Custom Control Ahead of form Pin
amitsol12-Jan-10 3:34
amitsol12-Jan-10 3:34 
AnswerRe: Bring Custom Control Ahead of form Pin
Saksida Bojan12-Jan-10 6:32
Saksida Bojan12-Jan-10 6:32 
AnswerRe: Bring Custom Control Ahead of form Pin
Eddy Vluggen12-Jan-10 8:16
professionalEddy Vluggen12-Jan-10 8:16 
QuestionDateTime Problem Pin
Thaer Hamael12-Jan-10 2:24
Thaer Hamael12-Jan-10 2:24 
AnswerRe: DateTime Problem Pin
OriginalGriff12-Jan-10 2:33
mveOriginalGriff12-Jan-10 2:33 
AnswerRe: DateTime Problem Pin
Luc Pattyn12-Jan-10 5:35
sitebuilderLuc Pattyn12-Jan-10 5:35 
AnswerRe: DateTime Problem Pin
Dan Mos12-Jan-10 7:46
Dan Mos12-Jan-10 7:46 
QuestionSerialization questions. Pin
David Muir12-Jan-10 1:50
David Muir12-Jan-10 1:50 
AnswerRe: Serialization questions. Pin
dojohansen12-Jan-10 7:01
dojohansen12-Jan-10 7:01 
QuestionHow can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
arnold_w12-Jan-10 1:44
arnold_w12-Jan-10 1:44 
AnswerRe: How can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
Saksida Bojan12-Jan-10 6:59
Saksida Bojan12-Jan-10 6:59 
GeneralRe: How can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
arnold_w12-Jan-10 21:40
arnold_w12-Jan-10 21:40 
Questionstring resizing Pin
Emmet_Brown12-Jan-10 1:31
Emmet_Brown12-Jan-10 1:31 
AnswerRe: string resizing Pin
harold aptroot12-Jan-10 1:34
harold aptroot12-Jan-10 1:34 
GeneralRe: string resizing Pin
Emmet_Brown12-Jan-10 1:38
Emmet_Brown12-Jan-10 1:38 
GeneralRe: string resizing Pin
Luc Pattyn12-Jan-10 1:53
sitebuilderLuc Pattyn12-Jan-10 1:53 

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.