Document Events in C#

Hello,

I am trying to listen to the FileSaveNotify event in c# SolidWorks Add-in. I am doing something like this:

1. Catch the SolidWorks FileOpenEvent

2. Depending on the document type I attach the FileSaveNotify event.

This works fine: the FileSaveNotify is fired every time the user saves the document. But after the users clicks a button on my c# add-in toolbar the event is no logger fired. Any ideeas?

SolidworksApi macros