Hey,

> > The problem is that the value of "tmp" is shared (captured) and as soon
> > as you queue the delegate, tmp will be reloaded with the next value from
> > ReadLine.
> > 
> 
> So could this be a 2.0 usecase for an Application.Invoke that takes a
> defined parameter? :)

He could use the current overload that takes a sender and args:

        public static void Invoke (object sender, EventArgs args, EventHandler 
d)

Which is not as cute as your late-bound overload.

Miguel.
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to