smitcham... thanks for the reply... but i don't get it...
I am doing this:
I set the MethodInvoker to the BindData method as:
miDataLoaded = new MethodInvoker(BindData);
and then from my child thread, I call:
this.BeginInvoke(miDataLoa
And the messageBox is within this BindData method. So I guess the thread is the same as the main thread. I checked the thread ID also using the Thread.GetHashCode() method and it turns out to be 169 always.
Can you please give me some code-snippet of what you are saying...
Main Topics
Browse All Topics





by: smitchamPosted on 2007-10-15 at 15:12:43ID: 20081904
You need to display the message box using the Invoke method on the original window to have the message box appear in the thread of the original dialog.