Serg
Fri Jun 11 07:28:26 CDT 2004
Thank you Jon.
This is exactly what i need.
"Jon Skeet [C# MVP]" <skeet@pobox.com> ???????/???????? ? ????????
?????????: news:MPG.1b33921b7e477fb698abfb@msnews.microsoft.com...
> Serg <serg_N0__SPAM_@alef.ru> wrote:
> > found myself
> > I think it as simple as possible:
> >
> > MyDelegate d = new MyDelegate (w.method);
> > d.BeginInvoke (null, null);
>
> That will invoke your delegate on a threadpool thread, not on the UI
> thread. If you need it to be on the UI thread, use
> Control.BeginInvoke(d, ...) instead.
>
> --
> Jon Skeet - <skeet@pobox.com>
>
http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too