Neat way of calling InvokeRequired and Invoke

Posted by ho on Stack Overflow See other posts from Stack Overflow or by ho
Published on 2010-04-30T13:17:22Z Indexed on 2010/04/30 13:47 UTC
Read the original article Hit count: 208

Filed under:
|
|

I seem to remember seeing some neat way of calling InvokeRequired and Invoke to avoid repeating too much code in every event handler but I can't remember what that was.
So does anyone know a neat way of writing that code?

Preferably for VB.Net 2005.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about multithreading