private void geckoWebBrowser1_ShowContextMenu(object sender, GeckoContextMenuEventArgs e)
{
if (e.ContextMenu.GetContextMenu().MenuItems.RemoveAt("view in system )
{
}
}
答案 0 :(得分:5)
private void geckoWebBrowser1_ShowContextMenu(object sender, GeckoContextMenuEventArgs e)
{
foreach(MenuItem i in e.ContextMenu.MenuItems)
{
if(i.Text == "View in System Browser")
e.ContextMenu.MenuItems.Remove(i);
}
}