Click here to Skip to main content
       

C#

 
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 
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 
If the "time consuming work" is more then a few lines, I'd say it is bad style. Its not bad style to call a method or mess around with the parameters, etc. That is often quite handy. For example, if you used the stock handler there, you couldn't pass in any arguments. Its often a lot more useful to do something like:
 
bw.DoWork += (x, y) => MyCustomMethod(someLocalObject1, someLocalObject2);
 
To be honest though, I've shied away from BackgroundWorker as I find async to be much cleaner.
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 
GeneralRe: Total hack - but is it OK? PinmemberEddy Vluggen8-Nov-12 9:24 
GeneralRe: Total hack - but is it OK? Pinmemberharold aptroot8-Nov-12 9:43 
GeneralRe: Total hack - but is it OK? PinmemberEddy Vluggen8-Nov-12 10:13 
AnswerDepends on your goal PinmemberEnnis Ray Lynch, Jr.9-Nov-12 7:26 

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.140421.2 | Last Updated 23 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid