A
Ahmad Jalil Qarshi
Hi,
I have a Windows Form based C# application which has a MenuStrip component.
I have a child thread running in the application.
Now I have to Enable/Disable the ToolStripMenuItem from within the Child
Thread. The problem is that since it doesn't have an InvokeRequired property
like other Form Controls, hence I can't use that to make it threadsafe.
So isn't it possible to make it threadsafe? If so then what's the best
possible way?
Thanks in anticipation.
Regards,
Ahmad Jalil Qarshi
I have a Windows Form based C# application which has a MenuStrip component.
I have a child thread running in the application.
Now I have to Enable/Disable the ToolStripMenuItem from within the Child
Thread. The problem is that since it doesn't have an InvokeRequired property
like other Form Controls, hence I can't use that to make it threadsafe.
So isn't it possible to make it threadsafe? If so then what's the best
possible way?
Thanks in anticipation.
Regards,
Ahmad Jalil Qarshi