Application: APIAppStartup
Revit Platform: All
Revit Version: 2011.0
First Released For: 2008.0
Programming Language: C#
Skill Level: Beginning
Category: Basics
Type: ExternalApplication

Subject: Launch an external application.
Summary: 
This sample demonstrates how to launch an external application when Revit starts and closes.

Classes: 
Autodesk.Revit.UI.IExternalApplication

Project Files: 
AppSample.cs
This file contains the class AppSample which inherits from IExternalApplication interface and implements the OnStartup and OnShutdown methods.

SplashWindow.cs
This file contains a form class SplashWindow which consists of one Form to show user the Revit Logo and version information when Revit starts.

Description: 
The sample displays a splash window when Revit application starts up and pop up a messagebox when Revit application closes.
Implementations:
-	The class which answers for launching external applications must implement IExternalApplication interface. And the external applications should be called in OnStartup and OnShutdown methods.

Instructions: 
1.	Run Revit, then you can see a splash window displays Revit logo and version info. 
2.	Close Revit, then a messagebox will appear.