private void item_Click(object sender, CommandMenuEventArgs e) { MenuCommand cmd = e.Item.MenuCommand; if (cmd != null) { target.Execute(cmd.CommandID); } }
private void item_Click(object sender, CommandMenuEventArgs e) { MenuCommand cmd = e.Item.MenuCommand; if (cmd != null) { target.Execute(cmd.CommandID); } }