using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace OSGeo.MapGuide.Viewer.AppLayoutEngine
{
///
/// A component that exits the application when invoked
///
[ToolboxItem(true)]
public class MgQuitComponent : MgComponent
{
///
/// Constructor
///
public MgQuitComponent()
{
this.Label = Strings.TextExitApplication;
}
///
/// Invokes this component
///
public override void Invoke()
{
System.Windows.Forms.Application.Exit();
}
}
}