Group: Forum Members
Last Active: 12 Years Ago
Posts: 71,
Visits: 1
|
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; } }
|