MethodInvoker

MethodInvoker serializable

System. Windows .Forms (system. windows .forms.dll) delegate

This (extremely useful!) delegate encapsulates a void method with no parameters. This is one of the most common utility delegates, and it saves you from repeatedly having to define your own. As an example, you might use it in conjunction with Control.Invoke() to marshal an inter-thread call back onto the UI thread. I only wish I'd found it sooner . . . .

 public delegate void  MethodInvoker  (); 


. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net