Click here to Skip to main content
15,895,812 members
Home / Discussions / C#
   

C#

 
GeneralRe: (220v Relay), please help Pin
Guffa6-Nov-06 1:15
Guffa6-Nov-06 1:15 
QuestionUse Style Builder dialog box? Pin
Gywox5-Nov-06 23:35
Gywox5-Nov-06 23:35 
Questionbackgroundworker Pin
Yustme5-Nov-06 23:24
Yustme5-Nov-06 23:24 
AnswerRe: backgroundworker Pin
mertkan656-Nov-06 4:27
mertkan656-Nov-06 4:27 
GeneralRe: backgroundworker Pin
Yustme6-Nov-06 5:11
Yustme6-Nov-06 5:11 
AnswerRe: backgroundworker Pin
Eric Dahlvang6-Nov-06 5:09
Eric Dahlvang6-Nov-06 5:09 
GeneralRe: backgroundworker Pin
Yustme6-Nov-06 10:12
Yustme6-Nov-06 10:12 
AnswerRe: backgroundworker Pin
mertkan656-Nov-06 20:46
mertkan656-Nov-06 20:46 
My BackgroundWorker experience is not so much but as I understood from MSDN, your code implemeantation is wrong.

I think instead of "Application.DoEvents()" you can use "FormClosing.RunAsync()" method where you want your BW to start. For instance you can put this method in the other Form constructor. Calling "FormClosing.RunAsync()" starts your thread, thread will stop when it finishes its job or when you wants to stopped it. Since I dont know your whole code, I cant give exact code examples.
QuestionTravelling Salesman Problem Pin
and_reas5-Nov-06 23:14
and_reas5-Nov-06 23:14 
AnswerRe: Travelling Salesman Problem Pin
ednrgc6-Nov-06 3:52
ednrgc6-Nov-06 3:52 
AnswerCross poster not doing their own homework Pin
leckey6-Nov-06 6:44
leckey6-Nov-06 6:44 
Questionparallel cellular automata Pin
MozhdehQeraati5-Nov-06 22:54
MozhdehQeraati5-Nov-06 22:54 
QuestionExam 70–536: TS: Microsoft .NET Framework 2.0 - Application Development Foundation, Dumps? Pin
kumar.bs5-Nov-06 22:46
kumar.bs5-Nov-06 22:46 
AnswerRe: Exam 70–536: TS: Microsoft .NET Framework 2.0 - Application Development Foundation, Dumps? Pin
Tarakeshwar Reddy5-Nov-06 23:28
professionalTarakeshwar Reddy5-Nov-06 23:28 
GeneralRe: Exam 70–536: TS: Microsoft .NET Framework 2.0 - Application Development Foundation, Dumps? Pin
kumar.bs5-Nov-06 23:32
kumar.bs5-Nov-06 23:32 
AnswerRe: Exam 70–536: TS: Microsoft .NET Framework 2.0 - Application Development Foundation, Dumps? Pin
Rahithi6-Nov-06 4:21
Rahithi6-Nov-06 4:21 
QuestionDrag and drop in embedded usercontrol Pin
mesmer5-Nov-06 22:32
mesmer5-Nov-06 22:32 
Questionchanging attribute value of a property outside the class . Pin
praveenqwe5-Nov-06 22:04
praveenqwe5-Nov-06 22:04 
AnswerRe: changing attribute value of a property outside the class . Pin
quiteSmart5-Nov-06 22:36
quiteSmart5-Nov-06 22:36 
GeneralRe: changing attribute value of a property outside the class . Pin
praveenqwe5-Nov-06 22:53
praveenqwe5-Nov-06 22:53 
AnswerRe: changing attribute value of a property outside the class . Pin
Amar Chaudhary5-Nov-06 23:08
Amar Chaudhary5-Nov-06 23:08 
AnswerRe: changing attribute value of a property outside the class . Pin
Guffa6-Nov-06 0:58
Guffa6-Nov-06 0:58 
Questionuser control items Pin
quiteSmart5-Nov-06 21:28
quiteSmart5-Nov-06 21:28 
GeneralRe: user control items Pin
quiteSmart5-Nov-06 22:34
quiteSmart5-Nov-06 22:34 
AnswerRe: user control items Pin
ednrgc6-Nov-06 3:50
ednrgc6-Nov-06 3:50 

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.