Click here to Skip to main content
15,881,600 members
Home / Discussions / C#
   

C#

 
GeneralRe: Derived Treeview override not being called at all. Pin
Richard Deeming4-Nov-21 5:32
mveRichard Deeming4-Nov-21 5:32 
GeneralRe: Derived Treeview override not being called at all. Pin
primem0ver4-Nov-21 5:42
primem0ver4-Nov-21 5:42 
GeneralRe: Derived Treeview override not being called at all. Pin
BillWoodruff4-Nov-21 23:56
professionalBillWoodruff4-Nov-21 23:56 
AnswerRe: Derived Treeview override not being called at all. Pin
BillWoodruff4-Nov-21 23:55
professionalBillWoodruff4-Nov-21 23:55 
SuggestionCron mechanism Pin
johnpierwszy3-Nov-21 22:34
johnpierwszy3-Nov-21 22:34 
GeneralRe: Cron mechanism Pin
OriginalGriff3-Nov-21 22:54
mveOriginalGriff3-Nov-21 22:54 
GeneralRe: Cron mechanism Pin
johnpierwszy3-Nov-21 23:13
johnpierwszy3-Nov-21 23:13 
GeneralRe: Cron mechanism Pin
OriginalGriff3-Nov-21 23:18
mveOriginalGriff3-Nov-21 23:18 
Not if it's running on a different thread, that's the whole idea.

You app starts with a single thread - the UI thread - which is responsible for updating the display and handling all user inputs: keyboard, mouse, touch screen - all of it.
The whole idea of a BackgroundWorker class is that it starts a new thread on which the long running task executes, leaving the UI thread free to handle user interactions in a timely manner. The Progress reporting mechanism moves the "update" data back to the UI thread so it can be displayed.

Try it: you'll start to see how it works!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

GeneralRe: Cron mechanism Pin
johnpierwszy3-Nov-21 23:21
johnpierwszy3-Nov-21 23:21 
GeneralRe: Cron mechanism Pin
OriginalGriff3-Nov-21 23:34
mveOriginalGriff3-Nov-21 23:34 
GeneralRe: Cron mechanism Pin
johnpierwszy4-Nov-21 0:02
johnpierwszy4-Nov-21 0:02 
GeneralRe: Cron mechanism Pin
OriginalGriff4-Nov-21 0:54
mveOriginalGriff4-Nov-21 0:54 
GeneralRe: Cron mechanism Pin
johnpierwszy4-Nov-21 1:09
johnpierwszy4-Nov-21 1:09 
GeneralRe: Cron mechanism Pin
OriginalGriff4-Nov-21 1:59
mveOriginalGriff4-Nov-21 1:59 
GeneralRe: Cron mechanism Pin
johnpierwszy4-Nov-21 6:16
johnpierwszy4-Nov-21 6:16 
Questionmissing a meow ? observations of Net#5 C#9 'record' structures in a VS 2019 WinForm project Pin
BillWoodruff3-Nov-21 11:21
professionalBillWoodruff3-Nov-21 11:21 
QuestionC# regarding running multiple task Pin
Mou_kol1-Nov-21 8:15
Mou_kol1-Nov-21 8:15 
AnswerRe: C# regarding running multiple task Pin
OriginalGriff1-Nov-21 22:49
mveOriginalGriff1-Nov-21 22:49 
AnswerRe: C# regarding running multiple task Pin
lmoelleb1-Nov-21 22:53
lmoelleb1-Nov-21 22:53 
AnswerRe: C# regarding running multiple task Pin
Gerry Schmitz2-Nov-21 7:53
mveGerry Schmitz2-Nov-21 7:53 
QuestionC# reading multiple files by multiple thread issue Pin
Mou_kol1-Nov-21 8:13
Mou_kol1-Nov-21 8:13 
QuestionRe: C# reading multiple files by multiple thread issue Pin
Member 153296131-Nov-21 8:29
Member 153296131-Nov-21 8:29 
AnswerRe: C# reading multiple files by multiple thread issue Pin
Randor 1-Nov-21 15:41
professional Randor 1-Nov-21 15:41 
AnswerRe: C# reading multiple files by multiple thread issue Pin
Gerry Schmitz2-Nov-21 7:53
mveGerry Schmitz2-Nov-21 7:53 
AnswerRe: C# reading multiple files by multiple thread issue Pin
primem0ver4-Nov-21 5:47
primem0ver4-Nov-21 5: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.