The document is archived and information here might be outdated
_XDocumentEventSink2_Event Events (Microsoft.Office.Interop.InfoPath.SemiTrust)
Occurs after the import (or merge) operation has successfully completed.
Occurs after the context node changes.
Occurs after a Microsoft Office InfoPath 2007 form has been loaded, but before any views have been initialized.
Occurs when the merge operation is invoked either from the Microsoft Office InfoPath 2007 user interface or from the command line by using the /aggregate option.
Occurs after a set of signed data has been selected to sign through the Digital Signature wizard.
Occurs when the submit operation is invoked either from the Microsoft Office InfoPath 2007 user interface or by using Submit method.
Occurs after a view in a Microsoft Office InfoPath 2007 form has been successfully switched.
Occurs when the version number of a Microsoft Office InfoPath 2007 form being opened is older than the version number of the form template on which it is based.