void restrictedEditDesigner_moduleClicked(object sender, HtmlEditorClasses.ElementDataEventArgs e) { // Set menu if (e.eventObj.Button == BUTTON.RIGHT) { this.activeElement = e.element; htmlEditor1.ContextMenuStrip = moduleRightClickMenu; } }
void restrictedEditDesigner_canvasClicked(object sender, HtmlEditorClasses.ElementDataEventArgs e) { // Set menu if (e.eventObj.Button == BUTTON.RIGHT) { htmlEditor1.ContextMenuStrip = rightClickMenu; } }