I am trying to add a menuitem and an event handler to a contextmenustrip :
I can add an item easy enough with :
But if i try to add the item and a handler with :Code:this.contextMenuStrip1.Items.Add("test choice");
it throws a wobbler :-(Code:this.contextMenuStrip1.Items.Add("test choice", new EventHandler(NewLoad));
I realise that it has something to do with delegates and so on but I'm pretty new to custom event handling.
Can anyone point me in the right direction ???
Thanks in Advance





Reply With Quote