Example of DocEvents

Does anyone have any VB.net examples using DocEvents? I'm trying to figure out how to use DocEvents_FileSaveNotifyEventHandler for all three file types. Thanks!

SolidworksApi macros