How would one go about setting up an event handler to handle the EndCommand event?
Thanks
How would one go about setting up an event handler to handle the EndCommand event?
Thanks
Somewhere declare the eventhandler:
AddHandler Rhino.Commands.Command.EndCommand, AddressOf EndOfCommand
Second is create a sub where you want to do the checks:
Private Sub EndOfCommand(ByVal sender As Object, ByVal e As Rhino.Commands.CommandEventArgs)
'do something
End Sub
Do you mean this?
Declaring the event handler was what I was missing. Thanks.