Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
QuestionWebBrowser control Pin
zaboboa26-Sep-06 5:18
zaboboa26-Sep-06 5:18 
AnswerRe: WebBrowser control Pin
Nader Elshehabi26-Sep-06 5:44
Nader Elshehabi26-Sep-06 5:44 
AnswerRe: WebBrowser control Pin
Nadia Monalisa26-Sep-06 5:54
Nadia Monalisa26-Sep-06 5:54 
GeneralRe: WebBrowser control Pin
zaboboa26-Sep-06 6:44
zaboboa26-Sep-06 6:44 
QuestionCancel Closing Form in Form Closing event Pin
Nadia Monalisa26-Sep-06 5:03
Nadia Monalisa26-Sep-06 5:03 
AnswerRe: Cancel Closing Form in Form Closing event Pin
wheelerbarry26-Sep-06 5:13
wheelerbarry26-Sep-06 5:13 
GeneralRe: Cancel Closing Form in Form Closing event Pin
Nadia Monalisa26-Sep-06 5:27
Nadia Monalisa26-Sep-06 5:27 
GeneralRe: Cancel Closing Form in Form Closing event Pin
Nader Elshehabi26-Sep-06 5:41
Nader Elshehabi26-Sep-06 5:41 
Hello
bashiwala wrote:
Is not it possible simply using e.Cancel within FormClosing event handler ?

Yes it is! It's even the standard practice.

Yet better make it the other way around. You shouldn't make the user wait for the thread. The thread should wait the user. Make your background worker a Background thread that will b terminated once the application is closed so that the use won't get frustrated waiting for something they don't even see or know when will it finish.

RegardsRose | [Rose]

GeneralRe: Cancel Closing Form in Form Closing event Pin
Nadia Monalisa26-Sep-06 7:03
Nadia Monalisa26-Sep-06 7:03 
GeneralRe: Cancel Closing Form in Form Closing event Pin
Nader Elshehabi26-Sep-06 7:49
Nader Elshehabi26-Sep-06 7:49 
GeneralRe: Cancel Closing Form in Form Closing event Pin
Nadia Monalisa26-Sep-06 7:59
Nadia Monalisa26-Sep-06 7:59 
QuestionFile Access Control Pin
mithob26-Sep-06 4:11
mithob26-Sep-06 4:11 
AnswerRe: File Access Control Pin
led mike26-Sep-06 5:19
led mike26-Sep-06 5:19 
Questionobfuscator suggestions Pin
Glen Harvy26-Sep-06 4:02
Glen Harvy26-Sep-06 4:02 
AnswerRe: obfuscator suggestions Pin
Douglas Troy26-Sep-06 4:26
Douglas Troy26-Sep-06 4:26 
AnswerRe: obfuscator suggestions Pin
led mike26-Sep-06 5:17
led mike26-Sep-06 5:17 
AnswerI don't like obfuscators Pin
Ennis Ray Lynch, Jr.26-Sep-06 6:41
Ennis Ray Lynch, Jr.26-Sep-06 6:41 
AnswerRe: obfuscator suggestions Pin
Nadia Monalisa26-Sep-06 8:41
Nadia Monalisa26-Sep-06 8:41 
QuestionReference help Pin
eric_tran26-Sep-06 3:53
eric_tran26-Sep-06 3:53 
AnswerRe: Reference help Pin
Not Active26-Sep-06 4:48
mentorNot Active26-Sep-06 4:48 
Questioncomponent for drawing graph Pin
barak16048726-Sep-06 3:53
barak16048726-Sep-06 3:53 
Questionsecond Form may not move... Pin
Schimaera26-Sep-06 3:18
Schimaera26-Sep-06 3:18 
AnswerRe: second Form may not move... Pin
LongRange.Shooter26-Sep-06 3:29
LongRange.Shooter26-Sep-06 3:29 
QuestionElastic control? Pin
LongRange.Shooter26-Sep-06 3:06
LongRange.Shooter26-Sep-06 3:06 
QuestionHow to call other software with C# Pin
alexTCT26-Sep-06 2:41
alexTCT26-Sep-06 2:41 

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.