List of eventsink services


Author
Message
Volvick Derose
Volvick Derose
Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)
Group: Forum Members
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;
}
}
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Volvick Derose 1 - 15 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search