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