Click here to Skip to main content


GeneralRe: Need project suggestion PinmvpRichard MacCutchan8-Nov-12 23:33 
GeneralRe: Need project suggestion Pinmembergopal pradhan8-Nov-12 23:36 
GeneralRe: Need project suggestion PinmvpRichard MacCutchan9-Nov-12 0:52 
AnswerRe: Need project suggestion PinmemberRahul Rajat Singh9-Nov-12 0:54 
QuestionRemote desktop in web application PinmemberChethan T R8-Nov-12 18:49 
AnswerRe: Remote desktop in web application Pinmembersirama20048-Nov-12 19:00 
QuestionBad design? PinmemberDaniel Sheets8-Nov-12 8:01 
AnswerRe: Bad design? PinmemberEddy Vluggen8-Nov-12 8:38 
Daniel Sheets wrote:
So what I'm asking is instead of having a separate method for DoWork, is it bad style to put it in the same method that the UI would call?

Not that I'm aware. A ThreadPool-thread with a delegate does seem more readable though;
void SomeFunction()
  ThreadPool.QueueUserWorkItem(delegate {
    // time consuming work
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Bad design? PinmemberMatt T Heffron8-Nov-12 9:02 
GeneralRe: Bad design? PinmemberDaniel Sheets8-Nov-12 9:36 
AnswerRe: Bad design? PinmemberMarcus Kramer8-Nov-12 9:28 
AnswerRe: Bad design? PinmemberSledgeHammer018-Nov-12 10:24 
AnswerRe: Bad design? PinmemberClifford Nelson9-Nov-12 7:57 
GeneralRe: Bad design? PinmemberSheets.d9-Nov-12 8:04 
GeneralRe: Bad design? PinmemberClifford Nelson9-Nov-12 22:27 
GeneralMemory Stream PinmemberKushina8-Nov-12 7:04 
GeneralRe: Memory Stream PinmemberKushina8-Nov-12 7:05 
GeneralRe: Memory Stream Pinmemberjschell8-Nov-12 8:43 
GeneralRe: Memory Stream PinmemberKushina9-Nov-12 9:58 
QuestionTotal hack - but is it OK? [modified] Pinmemberharold aptroot8-Nov-12 4:58 
AnswerRe: Total hack - but is it OK? PinmvpDave Kreskowiak8-Nov-12 6:37 
AnswerRe: Total hack - but is it OK? PinmemberSledgeHammer018-Nov-12 6:43 
GeneralRe: Total hack - but is it OK? PinmemberBobJanova8-Nov-12 23:18 
AnswerRe: Total hack - but is it OK? PinmemberEddy Vluggen8-Nov-12 8:47 
GeneralRe: Total hack - but is it OK? Pinmemberharold aptroot8-Nov-12 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web04 | 2.8.141015.1 | Last Updated 19 Oct 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid