Well, this made me look at the docs, 'cause I wondered how I had missed this particular method call being threadsafe. The docs for InvokeRequired say:
"There are four methods on a control that are safe to call from any thread: Invoke, BeginInvoke, EndInvoke and CreateGraphics. For all other method calls, you should use one of these invoke methods when calling from a different thread."
Is there a discrepancy here? Am I missing something? I'm guessing that you're right, and the docs are incomplete.
Just wondering, 'cause I do a lot of public blabbing on threading in Windows forms, it seems... <g> Thanks! |