public override void OnCreateContextMenu(IContextMenu menu, View v, IContextMenuContextMenuInfo menuInfo) { ISubMenu sm = menu.AddSubMenu("File"); sm.Add(Menu.None, IDM_CNTX_OPEN, Menu.None, "Open"); sm.Add(Menu.None, IDM_CNTX_OPEN, Menu.None, "Save"); base.OnCreateContextMenu(menu, v, menuInfo); }