public RightMenu(AxTOCControl m_Toc) { m_TocC = m_Toc; ToolMenu.RemoveAll(); ToolMenu.AddItem(new RemoveLayer(), -1, 0, false, esriCommandStyles.esriCommandStyleTextOnly); ToolMenu.AddItem(new ZoomtoLayer(), -1, 1, true, esriCommandStyles.esriCommandStyleTextOnly); }