Profile Picture

List of eventsink services

Posted By Volvick Derose 14 Years Ago
Author
Message
Volvick Derose
Posted 14 Years Ago
View Quick Profile
Forum Guru

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
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;
}
}


Threaded View

Threaded View
Forum Post List of eventsink services By Volvick Derose ( 14 Years Ago )


Similar Topics


Reading This Topic