Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Reference
AddIn Class
AddIn Events
 Startup Event
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Tools Reference (Visual Studio Tools for Office)
AddIn.Startup Event

Occurs when the add-in is loaded, after all the initialization code in the assembly has run.

Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in microsoft.office.tools.common.dll)

Visual Basic (Declaration)
Public Event Startup As EventHandler
Visual Basic (Usage)
Dim instance As AddIn
Dim handler As EventHandler

AddHandler instance.Startup, handler
C#
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.

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker