Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to update a listbox in another thread in another class Pin
OriginalGriff4-Feb-10 2:16
mveOriginalGriff4-Feb-10 2:16 
QuestionProblem in Windows Service Pin
nagendrathecoder4-Feb-10 1:12
nagendrathecoder4-Feb-10 1:12 
AnswerRe: Problem in Windows Service Pin
#realJSOP4-Feb-10 2:29
professional#realJSOP4-Feb-10 2:29 
QuestionSet MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 0:40
ddecoy4-Feb-10 0:40 
AnswerRe: Set MdiParent form BackgroundWorker Pin
Rob Philpott4-Feb-10 1:19
Rob Philpott4-Feb-10 1:19 
GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 1:29
ddecoy4-Feb-10 1:29 
GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 1:47
ddecoy4-Feb-10 1:47 
GeneralRe: Set MdiParent form BackgroundWorker Pin
Rob Philpott4-Feb-10 2:15
Rob Philpott4-Feb-10 2:15 
Well, Application.Run is traditionally used from the main() entry point to the application. It creates a standard message loop on the current thread which then responds to user input and rendering requests and the like.

It's certainly normal to only have one such message loop, so using two (concurrently) opens up the dubious world of not having a single GUI thread. I've not seen it done before (except in modal dialogs etc.) And although it *may* be possible to use it, its certainly not the correct approach IMO.

You might end up with MTA/STA problems maybe as well.

Regards,
Rob Philpott.

GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 2:29
ddecoy4-Feb-10 2:29 
GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 2:29
ddecoy4-Feb-10 2:29 
GeneralRe: Set MdiParent form BackgroundWorker Pin
Rob Philpott4-Feb-10 2:33
Rob Philpott4-Feb-10 2:33 
GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 2:56
ddecoy4-Feb-10 2:56 
GeneralRe: Set MdiParent form BackgroundWorker Pin
Dave Kreskowiak4-Feb-10 3:37
mveDave Kreskowiak4-Feb-10 3:37 
GeneralRe: Set MdiParent form BackgroundWorker Pin
ddecoy4-Feb-10 4:47
ddecoy4-Feb-10 4:47 
GeneralRe: Set MdiParent form BackgroundWorker Pin
Dave Kreskowiak4-Feb-10 12:41
mveDave Kreskowiak4-Feb-10 12:41 
QuestionHow i implement Strategy Design pattern in following case Pin
pekhaleyogesh3-Feb-10 23:26
pekhaleyogesh3-Feb-10 23:26 
AnswerRe: How i implement Strategy Design pattern in following case Pin
J4amieC3-Feb-10 23:58
J4amieC3-Feb-10 23:58 
GeneralRe: How i implement Strategy Design pattern in following case Pin
pekhaleyogesh4-Feb-10 0:21
pekhaleyogesh4-Feb-10 0:21 
AnswerRe: How i implement Strategy Design pattern in following case Pin
Rob Philpott4-Feb-10 0:21
Rob Philpott4-Feb-10 0:21 
GeneralRe: How i implement Strategy Design pattern in following case Pin
pekhaleyogesh4-Feb-10 0:25
pekhaleyogesh4-Feb-10 0:25 
AnswerRe: How i implement Strategy Design pattern in following case Pin
Not Active4-Feb-10 1:55
mentorNot Active4-Feb-10 1:55 
GeneralRe: How i implement Strategy Design pattern in following case Pin
pekhaleyogesh4-Feb-10 2:21
pekhaleyogesh4-Feb-10 2:21 
GeneralRe: How i implement Strategy Design pattern in following case Pin
pekhaleyogesh4-Feb-10 2:30
pekhaleyogesh4-Feb-10 2:30 
GeneralRe: How i implement Strategy Design pattern in following case Pin
Not Active4-Feb-10 2:41
mentorNot Active4-Feb-10 2:41 
Questiontying an event to dynamically created radio buttons [Solved] Pin
Wamuti3-Feb-10 22:38
Wamuti3-Feb-10 22: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.