How to run c# addin codes when save button is triggered?

Hello Guys!

I have an addin which works pretty fine. It uses CommandTabBox to run.

But the question is, what if i would like to run this function when users trigger save button?

First of all is it possible in C# addin?

While i research this, i could see it is already done with VBA macros but couldn't see in C#.

That's the link of example in VBA: Run VBA macro automatically on document save using SOLIDWORKS API 

Could it be that much easy in C#?

Thanks!

SolidworksApi/macros