Document EventSinkServices after loading a diagram


Author
Message
Wilhelm Vortisch
Wilhelm Vortisch
Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)Junior Member (14 reputation)
Group: Forum Members
Posts: 14, Visits: 1
Hi,

I have a problem with document EventSinkServices after loading a diagram with the "open" command of NDiagramCommandBarsManager.
In my application I have added the following command in the Form_Load function for getting the double click event:

nDrawingDocument1.EventSinkService.NodeDoubleClick += new NodeViewEventHandler(EventSinkService_NodeDoubleClicked);

If I add a shape to the default drawing document, it's all OK.
After I save these diagram to a ndb file and reloads it over the standard NDiagramCommandBarsManager command ("the open icon"), all EventSinkServices releated to the drawing document are "not active".

Where can I enable these EventSinkServices for a new drawing document?

Regards

Wilhelm

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search