Wednesday, 21 August 2013

MethodInvoker difference?

MethodInvoker difference?

What is the difference between this:
richTextBox1.Invoke((MethodInvoker)(() => richTextBox1.Clear()));
and this:
Invoke((MethodInvoker)(() => richTextBox1.Clear()));
?
Is the first one better?

No comments:

Post a Comment