public void showPopMenuSection(cEditor editor, bool noDelete, bool showGroups, Point p) { cmSectionDeleteSection.Enabled = !noDelete; cmSectionGroupProperties.Visible = showGroups; cmSectionMoveGroup.Visible = showGroups; cmSectionGroupSeparator.Visible = showGroups; m_contextMenuEditor = editor; cmnSection.Show(p); }