Nevron Forum

List of eventsink services

https://www.nevron.com/Forum/Topic4083.aspx

By Volvick Derose 1 - Monday, August 30, 2010

Want to get the list of event sink for

Copy
Rotate
Group
Compose
Decompose

etc.

Try to fire some messages similar to this

// Subscribe to the OnNodeRemoving event of the NDrawingDocument:
nDrawingDocument1.EventSinkService.NodeRemoving += new ChildNodeCancelEventHandler(EventSinkService_NodeRemoving);

// Place the needed code in the event handler:
void EventSinkService_NodeRemoving(NChildNodeCancelEventArgs args)
{
if(MessageBox.Show("Remove ?", "Question", MessageBoxButtons.YesNo, MessageBoxIcon.Question) !=
DialogResult.Yes)
{
args.Cancel = true;
}
}