Cross-thread operation not valid


Author
Message
Leonard P.
Leonard P.
StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)
Group: Awaiting Activation
Posts: 65, Visits: 306
Hi,



I am implementing clickable context menu with InfoBox. I am getting an error in Dispose when form is being closed after a user clicked on the context menu item. The error is "Cross-thread operation not valid: Control 'cmNotification' accessed from a thread other than the thread it was created on."



It's also happening in StrataFrame UI Control sample. But the strangest thing is that it happens in C# version of the sample only, I tired VB.NET version and it's working there Doze ?







Attachments
sf.PNG (161 views, 166.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search