Clear the items after ContextMenuStrip is shown -


I wanted to clear the item only after the context menuscript was shown. However, when I was making the following call, the context menu strip was not displayed properly in the first place. Any ideas?

  Context MenuUrpress.show () ContextManuStrip.itm. Clean ();  

Thanks,

Please ignore this thread.

I should handle ContextMenuStrip. Close the event and work inside ContextMenuStrip.Items.Clear ()

Thanks,


Comments