Quantcast
Channel: Setting a ToolStripLabel in a thread-safe manner - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Felice Pollano for Setting a ToolStripLabel in a thread-safe manner

Use the InvokeRequired on the ToolStrip control instead of the ToolStripLabel.

View Article



Setting a ToolStripLabel in a thread-safe manner

I have a ToolStripLabel that needs to have its Text property updated from an event handler on a separate thread. Normally with a regular Label I've been using the InvokeRequired property and invoking a...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images