Click here to Skip to main content
16,008,490 members
Home / Discussions / C#
   

C#

 
GeneralRe: ManualResetEvent troubles Pin
leppie22-May-06 7:34
leppie22-May-06 7:34 
GeneralRe: ManualResetEvent troubles Pin
Judah Gabriel Himango22-May-06 7:38
sponsorJudah Gabriel Himango22-May-06 7:38 
GeneralRe: ManualResetEvent troubles Pin
Judah Gabriel Himango22-May-06 9:21
sponsorJudah Gabriel Himango22-May-06 9:21 
QuestionThreads, Events & BeginInvoke Pin
iswoolley22-May-06 5:11
iswoolley22-May-06 5:11 
AnswerRe: Threads, Events & BeginInvoke [modified] Pin
Dustin Metzgar22-May-06 6:06
Dustin Metzgar22-May-06 6:06 
GeneralRe: Threads, Events & BeginInvoke [modified] Pin
Iain W22-May-06 9:49
Iain W22-May-06 9:49 
AnswerRe: Threads, Events & BeginInvoke Pin
Judah Gabriel Himango22-May-06 6:13
sponsorJudah Gabriel Himango22-May-06 6:13 
GeneralRe: Threads, Events & BeginInvoke Pin
Iain W22-May-06 9:58
Iain W22-May-06 9:58 
Thanks Judah for your input.

I think I can see how passing in a context allows me to call methods on an object created in a different thread. However my main issue, which I didn't expand on in my original post (apologies!) is that I don't know in advance which UI control or controls will be bound to my Engine object. So with this context approach I would need some way for each control to specify it's context. Or would all the UI controls be created in the same thread, and therefore have the same context?

I really want my Engine class to be generic so that I can use it in a number of places, and bind different UI controls to different Engine objects. I'd anticipated that I'd need to use BeginInvoke on my ProgressChanged method. If you can offer any further advice I would really appreciate your input.

Thanks again, Iain.
GeneralRe: Threads, Events & BeginInvoke Pin
Judah Gabriel Himango22-May-06 10:16
sponsorJudah Gabriel Himango22-May-06 10:16 
QuestionNeed help Pin
engsrini22-May-06 4:56
engsrini22-May-06 4:56 
AnswerRe: Need help Pin
Judah Gabriel Himango22-May-06 6:16
sponsorJudah Gabriel Himango22-May-06 6:16 
GeneralRe: Need help Pin
engsrini22-May-06 6:37
engsrini22-May-06 6:37 
QuestionType or namespace name could not be found Pin
msolh22-May-06 4:17
msolh22-May-06 4:17 
AnswerRe: Type or namespace name could not be found Pin
User 665822-May-06 5:11
User 665822-May-06 5:11 
GeneralRe: Type or namespace name could not be found Pin
msolh22-May-06 7:57
msolh22-May-06 7:57 
GeneralRe: Type or namespace name could not be found Pin
User 665822-May-06 11:16
User 665822-May-06 11:16 
QuestionDatabinding Listview with array reference Pin
Seraphin22-May-06 3:54
Seraphin22-May-06 3:54 
Questiona question about tabcontrol ? Pin
cmpeng3422-May-06 3:47
cmpeng3422-May-06 3:47 
AnswerRe: a question about tabcontrol ? Pin
KishoreT22-May-06 3:53
KishoreT22-May-06 3:53 
AnswerRe: a question about tabcontrol ? Pin
sathish s22-May-06 4:00
sathish s22-May-06 4:00 
GeneralRe: a question about tabcontrol ? Pin
RaviBattula22-May-06 4:19
professionalRaviBattula22-May-06 4:19 
Questioncompile C# windows project using csc Pin
KishoreT22-May-06 3:46
KishoreT22-May-06 3:46 
AnswerRe: compile C# windows project using csc Pin
Dustin Metzgar22-May-06 5:10
Dustin Metzgar22-May-06 5:10 
AnswerRe: compile C# windows project using csc Pin
leppie22-May-06 6:38
leppie22-May-06 6:38 
QuestionHow to add event handlers for controls added at runtime. Pin
Herhighness22-May-06 3:25
Herhighness22-May-06 3:25 

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.