Extension Walkthrough
Extension.cs
// Copyright 2011 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;

using ESRI.ArcGISExplorer;
using ESRI.ArcGISExplorer.Application;
using ESRI.ArcGISExplorer.Mapping;
using ESRI.ArcGISExplorer.Geometry;
using ESRI.ArcGISExplorer.Data;
using ESRI.ArcGISExplorer.Threading;

namespace ExtensionWalkthroughCS
{
    public class Extension : ESRI.ArcGISExplorer.Application.Extension
    {
        System.Timers.Timer _t = new System.Timers.Timer(60000);

        public override void OnStartup()
        {
            _t.Start();
            _t.Elapsed += new System.Timers.ElapsedEventHandler(_t_Elapsed);
        }

        void _t_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            System.Windows.Forms.MessageBox.Show("This message box is displayed every 60 seconds. If you would like to disable this extension, go to the ArcGIS Explorer Options, select the Resources tab, and Manage Add-Ins.");
        }

        public override void OnShutdown()
        {
            _t.Stop();
        }


    }
}