Profile Picture

Get rid of default double click action

Posted By Bartlomiej Zogala 14 Years Ago
Author
Message
Bartlomiej Zogala
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 2, Visits: 1
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.




Similar Topics


Reading This Topic