Click here to Skip to main content
15,905,420 members
Home / Discussions / C#
   

C#

 
AnswerRe: listview last sorting Pin
Abhinav S23-May-10 4:59
Abhinav S23-May-10 4:59 
Questiondatabase connection problems about C# ,unable to connect database Pin
Make Up Forever23-May-10 2:34
Make Up Forever23-May-10 2:34 
AnswerRe: database connection problems about C# ,unable to connect database Pin
Abhinav S23-May-10 2:35
Abhinav S23-May-10 2:35 
AnswerRe: database connection problems about C# ,unable to connect database Pin
Luc Pattyn23-May-10 2:38
sitebuilderLuc Pattyn23-May-10 2:38 
QuestionRead access on class local fields from multiple threads Pin
Chesnokov Yuriy22-May-10 23:36
professionalChesnokov Yuriy22-May-10 23:36 
AnswerRe: Read access on class local fields from multiple threads Pin
DaveyM6923-May-10 0:47
professionalDaveyM6923-May-10 0:47 
QuestionBackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy22-May-10 23:32
professionalChesnokov Yuriy22-May-10 23:32 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 0:58
professionalDaveyM6923-May-10 0:58 
The IsBusy property is set when you call RunWorkerAsync and isn't unset until immediately before RunWorkerCompleted is raised.

I would start your Timer in your RunWorkerCompleted handler after any other tasks being performed in there so the issue is avoided altogether as there would be no need to check IsBusy at all.
Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

QuestionRe: BackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy23-May-10 1:32
professionalChesnokov Yuriy23-May-10 1:32 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 2:10
professionalDaveyM6923-May-10 2:10 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy23-May-10 4:04
professionalChesnokov Yuriy23-May-10 4:04 
GeneralRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 4:24
professionalDaveyM6923-May-10 4:24 
GeneralRe: BackgroundWorker.IsBusy failure!? Pin
Luc Pattyn23-May-10 5:09
sitebuilderLuc Pattyn23-May-10 5:09 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
DaveyM6923-May-10 3:36
professionalDaveyM6923-May-10 3:36 
AnswerRe: BackgroundWorker.IsBusy failure!? Pin
Luc Pattyn23-May-10 2:24
sitebuilderLuc Pattyn23-May-10 2:24 
GeneralRe: BackgroundWorker.IsBusy failure!? Pin
Chesnokov Yuriy23-May-10 3:55
professionalChesnokov Yuriy23-May-10 3:55 
GeneralRe: timer ticks overlap [modified] Pin
Luc Pattyn23-May-10 4:23
sitebuilderLuc Pattyn23-May-10 4:23 
QuestionPreventing DataGridView column from auto-resizing when double-clicking the column header divider Pin
eyalbi00722-May-10 22:23
eyalbi00722-May-10 22:23 
QuestionAnybody? Please, I'm so stuck here... Pin
eyalbi00723-May-10 3:53
eyalbi00723-May-10 3:53 
AnswerHave a little patience... Pin
OriginalGriff23-May-10 4:34
mveOriginalGriff23-May-10 4:34 
QuestionRe: Preventing DataGridView column from auto-resizing when double-clicking the column header divider Pin
nicos2817-Oct-11 3:03
nicos2817-Oct-11 3:03 
QuestionPlz help me Pin
dia 201022-May-10 22:04
dia 201022-May-10 22:04 
AnswerRe: Plz help me Pin
Abhinav S22-May-10 22:20
Abhinav S22-May-10 22:20 
Generalthis chunck of code have same results Pin
dia 201023-May-10 1:26
dia 201023-May-10 1:26 
AnswerRe: Plz help me Pin
Not Active23-May-10 3:38
mentorNot Active23-May-10 3:38 

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.