ToolStripStatusLabel Invoke?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi:
     How can I invoke Toolstripstatuslabel.text from another thread?


Example:
 

void XXXXXXX
{
       Try
           {
                   ................
           }

       Catch {SocketException e)
         {
               ToolStripStatusLabel1.Text= e.ToString();
          }
}


This will cause cross thread Error! Any way to work around this?<hr class="sig Davinci Blurr

View the full article
 
Back
Top