Click here to Skip to main content
15,903,540 members
Home / Discussions / C#
   

C#

 
QuestionCalling Tree Pin
half-life14-Aug-08 2:24
half-life14-Aug-08 2:24 
AnswerRe: Calling Tree Pin
Manas Bhardwaj14-Aug-08 2:38
professionalManas Bhardwaj14-Aug-08 2:38 
GeneralRe: Calling Tree Pin
half-life14-Aug-08 7:29
half-life14-Aug-08 7:29 
AnswerRe: Calling Tree Pin
leppie14-Aug-08 3:19
leppie14-Aug-08 3:19 
QuestionCustom event thread and form property updating? Pin
CelestialCoder14-Aug-08 2:03
CelestialCoder14-Aug-08 2:03 
AnswerRe: Custom event thread and form property updating? Pin
lisan_al_ghaib14-Aug-08 2:10
lisan_al_ghaib14-Aug-08 2:10 
GeneralRe: Custom event thread and form property updating? Pin
CelestialCoder14-Aug-08 2:32
CelestialCoder14-Aug-08 2:32 
AnswerRe: Custom event thread and form property updating? Pin
Mark Churchill14-Aug-08 2:37
Mark Churchill14-Aug-08 2:37 
Theres a couple of considerations here. First you should usually get out of your data recieved event as quick as possible. Secondly, you need to marshal stuff onto the UI thread safely.

If its just doing something simple (like updating a label), then use BeginInvoke to update on the UI thread (plain Invoke will block whatever called your event handler).

Otherwise (say theres lots of processing / logging to a database) it may be worth sticking the data in a queue, and emptying the queue on another thread.


GeneralRe: Custom event thread and form property updating? Pin
CelestialCoder14-Aug-08 3:03
CelestialCoder14-Aug-08 3:03 
GeneralRe: Custom event thread and form property updating? Pin
Mark Churchill14-Aug-08 3:24
Mark Churchill14-Aug-08 3:24 
GeneralRe: Custom event thread and form property updating? Pin
CelestialCoder14-Aug-08 3:44
CelestialCoder14-Aug-08 3:44 
GeneralRe: Custom event thread and form property updating? Pin
Mark Churchill14-Aug-08 5:00
Mark Churchill14-Aug-08 5:00 
GeneralRe: Custom event thread and form property updating? Pin
CelestialCoder14-Aug-08 5:14
CelestialCoder14-Aug-08 5:14 
QuestionDetection of Pings Pin
zaphod00514-Aug-08 1:06
zaphod00514-Aug-08 1:06 
AnswerRe: Detection of Pings Pin
Thomas Stockwell14-Aug-08 1:57
professionalThomas Stockwell14-Aug-08 1:57 
AnswerRe: Detection of Pings Pin
Mbah Dhaim14-Aug-08 2:41
Mbah Dhaim14-Aug-08 2:41 
GeneralRe: Detection of Pings Pin
zaphod00514-Aug-08 9:07
zaphod00514-Aug-08 9:07 
QuestionWatiN.Core.Exceptions.IENotFoundException Pin
keijo_cyrpa14-Aug-08 0:55
keijo_cyrpa14-Aug-08 0:55 
AnswerRe: WatiN.Core.Exceptions.IENotFoundException Pin
Christian Graus14-Aug-08 1:01
protectorChristian Graus14-Aug-08 1:01 
GeneralRe: WatiN.Core.Exceptions.IENotFoundException Pin
Bernhard Hofmann11-Sep-09 2:04
Bernhard Hofmann11-Sep-09 2:04 
AnswerRe: WatiN.Core.Exceptions.IENotFoundException Pin
Manas Bhardwaj14-Aug-08 2:56
professionalManas Bhardwaj14-Aug-08 2:56 
GeneralRe: WatiN.Core.Exceptions.IENotFoundException Pin
Pete O'Hanlon14-Aug-08 3:25
mvePete O'Hanlon14-Aug-08 3:25 
QuestionWant to know capture the mailing information from a particular system Pin
gayatrilaxmi14-Aug-08 0:39
gayatrilaxmi14-Aug-08 0:39 
AnswerRe: Want to know capture the mailing information from a particular system Pin
vikas amin14-Aug-08 9:27
vikas amin14-Aug-08 9:27 
Questioncannot complie .cpp Pin
Mogaambo14-Aug-08 0:23
Mogaambo14-Aug-08 0:23 

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.