Link to home
Start Free TrialLog in
Avatar of vbturbo
vbturboFlag for Denmark

asked on

ContextMenu Question

Hi
   
How can i find/get the tag value from the menuitem that is clicked

  private void contextMenu_Click(object sender,ContextMenuStrip e, ContextMenu.MenuItemCollection e)
        {

            ContextMenuStrip.ItemClicked(e.tag.value);


            cmd = int.Parse(e.Tag.ToString());
            //Evaluer i switchen
            Toolbarcmd(cmd);
        }
ASKER CERTIFIED SOLUTION
Avatar of Ravi Singh
Ravi Singh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vbturbo

ASKER

Thanks Zephyr