I have generated few shapes in a loop by NBusinessProcessShapesFactory, now I want to add context menu and double click action , which would call another form and load coresponding DB data basing on figure clicked. I have done:
regionElipse.EventSinkService.NodeDoubleClick += new NodeViewEventHandler(EventSinkService_NodeDoubleClick)
and
private void EventSinkService_NodeDoubleClick(NNodeViewEventArgs args)
{
MessageHelper.InfoMessage(this.ParentForm, args.HitNode.ToString())
}
The above does work only for clicking for empty document returns document on when clicking near the end of NStep2Connector returns HVPolylinePath, for all others it's allow in place text editing.
I don't need at all any object modifications such as resizing, editing text I need Diagrams only for representing data, for changing I would like user other methods.