Public Event Startup As EventHandler
Dim instance As AddIn Dim handler As EventHandler AddHandler instance.Startup, handler
public event EventHandler Startup
Use the default Startup event handler in the ThisAddIn class, instead of creating your own event handler for this event. The default Startup event handler is named ThisAddIn_Startup.
For more information, see Visual Studio Tools for Office Events. For more information about the ThisAddIn class, see Getting Started Programming Application-Level Add-ins.