System.InvalidOperationException was unhandled
Message="Cross-thread operation not valid: Control 'LeLabel' accessed from a thread other than the thread it was created on."
Source="System.Windows.Forms"
StackTrace:
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.set_WindowText(String value)
at System.Windows.Forms.Control.set_Text(String value)
at System.Windows.Forms.Label.set_Text(String value)
at correlog_log_loader.fMain.incrementMsgTotal(Object sender, EventArgs e) in D:\Essai\Interface.cs:line 216
at UnMsg.OnReceptionMsg(EventArgs e) in D:\Essai\UnMsg.cs:line 575
at UnMsg.traite() in D:\Essai\UnMsg.cs:line 1342
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Partager