Click here to Skip to main content
11,718,589 members (62,859 online)
   

C#

 
GeneralRe: Need project suggestion Pin
Richard MacCutchan8-Nov-12 23:33
mvpRichard MacCutchan8-Nov-12 23:33 
GeneralRe: Need project suggestion Pin
gopal pradhan8-Nov-12 23:36
membergopal pradhan8-Nov-12 23:36 
GeneralRe: Need project suggestion Pin
Richard MacCutchan9-Nov-12 0:52
mvpRichard MacCutchan9-Nov-12 0:52 
AnswerRe: Need project suggestion Pin
Rahul Rajat Singh9-Nov-12 0:54
memberRahul Rajat Singh9-Nov-12 0:54 
QuestionRemote desktop in web application Pin
Chethan T R8-Nov-12 18:49
memberChethan T R8-Nov-12 18:49 
AnswerRe: Remote desktop in web application Pin
sirama20048-Nov-12 19:00
membersirama20048-Nov-12 19:00 
QuestionBad design? Pin
Daniel Sheets8-Nov-12 8:01
memberDaniel Sheets8-Nov-12 8:01 
AnswerRe: Bad design? Pin
Eddy Vluggen8-Nov-12 8:38
memberEddy 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? Pin
Matt T Heffron8-Nov-12 9:02
memberMatt T Heffron8-Nov-12 9:02 
GeneralRe: Bad design? Pin
Daniel Sheets8-Nov-12 9:36
memberDaniel Sheets8-Nov-12 9:36 
AnswerRe: Bad design? Pin
Marcus Kramer8-Nov-12 9:28
memberMarcus Kramer8-Nov-12 9:28 
AnswerRe: Bad design? Pin
SledgeHammer018-Nov-12 10:24
memberSledgeHammer018-Nov-12 10:24 
AnswerRe: Bad design? Pin
Clifford Nelson9-Nov-12 7:57
memberClifford Nelson9-Nov-12 7:57 
GeneralRe: Bad design? Pin
Sheets.d9-Nov-12 8:04
memberSheets.d9-Nov-12 8:04 
GeneralRe: Bad design? Pin
Clifford Nelson9-Nov-12 22:27
memberClifford Nelson9-Nov-12 22:27 
GeneralMemory Stream Pin
Kushina8-Nov-12 7:04
memberKushina8-Nov-12 7:04 
GeneralRe: Memory Stream Pin
Kushina8-Nov-12 7:05
memberKushina8-Nov-12 7:05 
GeneralRe: Memory Stream Pin
jschell8-Nov-12 8:43
memberjschell8-Nov-12 8:43 
GeneralRe: Memory Stream Pin
Kushina9-Nov-12 9:58
memberKushina9-Nov-12 9:58 
QuestionTotal hack - but is it OK? Pin
harold aptroot8-Nov-12 4:58
memberharold aptroot8-Nov-12 4:58 
AnswerRe: Total hack - but is it OK? Pin
Dave Kreskowiak8-Nov-12 6:37
mvpDave Kreskowiak8-Nov-12 6:37 
AnswerRe: Total hack - but is it OK? Pin
SledgeHammer018-Nov-12 6:43
memberSledgeHammer018-Nov-12 6:43 
GeneralRe: Total hack - but is it OK? Pin
BobJanova8-Nov-12 23:18
memberBobJanova8-Nov-12 23:18 
AnswerRe: Total hack - but is it OK? Pin
Eddy Vluggen8-Nov-12 8:47
memberEddy Vluggen8-Nov-12 8:47 
GeneralRe: Total hack - but is it OK? Pin
harold aptroot8-Nov-12 9:05
memberharold 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
Web01 | 2.8.150901.1 | Last Updated 4 Sep 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid