PL,
You would do this:
this.Invoke(new MethodInvoker(AddTextToTextBox));
In .NET 2.0, you will be able to do just this:
this.Invoke(AddTextToTextBox);
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"PL" <pl*****@pleasedontsendspam.mailhot.com> wrote in message
news:ev**************@TK2MSFTNGP09.phx.gbl...
I want to translate this VB statement to C#:
Me.Invoke(CType(AddressOf Me.AddTextToTextBox, MethodInvoker))
What is the equivalent in C#?