I'm trying to figure out if there's a way to Invoke ToolStripMenuItem.
For example,I am calling a web service(ASynchrously) when result is returned.i populate drop down items according to result,(In call back method)
ToolStripMenuItem.DropDownItems.Add(new ToolStripItemEx("start"));
but I get exception
Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on.
There is no invoke function associated with the toolstrip item, Is there another way I can do this? Am I trying to do this the completely wrong way? Any input would be helpful.