Hello! I'm trying to operate with acad objects in .NET. I added an event hander to the Application.DocumentManager.MdiActiveDocument.Editor.SelectionRemoved and Application.DocumentManager.MdiActiveDocument.Editor.SelectionEdded event, but SelectionRemoved handler never invokes when selection lost (e.g. Esc button pressed) and SelectionAdded invokes 3 times during selection and everytime when cursor hovers over any acad element even though this element doesn't selected.
So, does anybody have any ideas how to resolve this problem and how to hadle selection and deselection events correctly?
Thanks in anvance!