Click here to Skip to main content
15,887,376 members
Home / Discussions / C#
   

C#

 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 20:45
Meysam Toluie9-Apr-14 20:45 
AnswerRe: Designer Problem Pin
OriginalGriff9-Apr-14 20:53
mveOriginalGriff9-Apr-14 20:53 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 21:30
Meysam Toluie9-Apr-14 21:30 
GeneralRe: Designer Problem Pin
OriginalGriff9-Apr-14 21:54
mveOriginalGriff9-Apr-14 21:54 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 22:36
Meysam Toluie9-Apr-14 22:36 
GeneralRe: Designer Problem Pin
OriginalGriff9-Apr-14 22:57
mveOriginalGriff9-Apr-14 22:57 
GeneralRe: Designer Problem Pin
Meysam Toluie9-Apr-14 23:23
Meysam Toluie9-Apr-14 23:23 
GeneralRe: Designer Problem Pin
Dave Kreskowiak10-Apr-14 2:26
mveDave Kreskowiak10-Apr-14 2:26 
I ran into doing something similar to this. I've got a DGV showing progress of a bunch of Tasks all doing work dependent on remote servers. Trust me, you do NOT need a static control. It does not solve the problem of cross-thread operations.

What you do need is whenever a background thread needs to update it's status it calls a method to update it's status in a table specifically made to track that information. When that method is called, it can determine if it needs to Invoke itself (put its own execution on the UI thread) to update the table and then refresh the grid that's bound to it. That's easily done with control.InvokeRequired.

AnswerRe: Designer Problem Pin
V.10-Apr-14 22:57
professionalV.10-Apr-14 22:57 
QuestionWhen to read data tables? Pin
Shady George9-Apr-14 11:26
Shady George9-Apr-14 11:26 
AnswerRe: When to read data tables? Pin
OriginalGriff9-Apr-14 20:29
mveOriginalGriff9-Apr-14 20:29 
GeneralRe: When to read data tables? Pin
Shady George9-Apr-14 22:13
Shady George9-Apr-14 22:13 
GeneralRe: When to read data tables? Pin
OriginalGriff9-Apr-14 22:19
mveOriginalGriff9-Apr-14 22:19 
GeneralRe: When to read data tables? Pin
joost.versteegen10-Apr-14 1:40
joost.versteegen10-Apr-14 1:40 
QuestionRe: When to read data tables? Pin
Eddy Vluggen10-Apr-14 2:59
professionalEddy Vluggen10-Apr-14 2:59 
AnswerRe: When to read data tables? Pin
joost.versteegen10-Apr-14 3:35
joost.versteegen10-Apr-14 3:35 
SuggestionRe: When to read data tables? Pin
Eddy Vluggen10-Apr-14 6:41
professionalEddy Vluggen10-Apr-14 6:41 
GeneralRe: When to read data tables? Pin
joost.versteegen10-Apr-14 7:57
joost.versteegen10-Apr-14 7:57 
QuestionLooking for a new file editor Pin
MacRaider49-Apr-14 4:11
MacRaider49-Apr-14 4:11 
AnswerRe: Looking for a new file editor Pin
GuyThiebaut9-Apr-14 4:57
professionalGuyThiebaut9-Apr-14 4:57 
GeneralRe: Looking for a new file editor Pin
MacRaider49-Apr-14 5:13
MacRaider49-Apr-14 5:13 
AnswerRe: Looking for a new file editor Pin
Pete O'Hanlon9-Apr-14 5:19
mvePete O'Hanlon9-Apr-14 5:19 
GeneralRe: Looking for a new file editor Pin
MacRaider49-Apr-14 6:17
MacRaider49-Apr-14 6:17 
AnswerRe: Looking for a new file editor Pin
Ron Nicholson9-Apr-14 6:39
professionalRon Nicholson9-Apr-14 6:39 
AnswerRe: Looking for a new file editor Pin
BillWoodruff9-Apr-14 14:47
professionalBillWoodruff9-Apr-14 14:47 

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.