I am working with C# and ArcObjects. I have some functions that I need to run every time a map document is opened (.mxd, or any other type of map file as well). I have no idea of the code needed to accomplish this though.
An example would be that every time a map document is loaded up or opened, a message box could display that says: "Map document loaded successfully"