E
ECVerify.com
I am trying to figure out how to do this in C Sharp
In VB this works perfect
MenuItem2.MenuItems.Add("123", AddressOf Me.MenuItem1_Click)
The problem is there is no address of in C#, I tried this in C#
menuItem2.MenuItems.Add("123", MenuItem1_Click);
But it does not seem to work, since C# has no AddressOf how can I acomplish this?
Thanks, Ed,
In VB this works perfect
MenuItem2.MenuItems.Add("123", AddressOf Me.MenuItem1_Click)
The problem is there is no address of in C#, I tried this in C#
menuItem2.MenuItems.Add("123", MenuItem1_Click);
But it does not seem to work, since C# has no AddressOf how can I acomplish this?
Thanks, Ed,