using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using IReaper.Properties;
namespace IReaper.Statues{
public partial class ShutDownWork : AsyncWork
{
public ShutDownWork()
{
InitializeComponent();
}
public ShutDownWork(IContainer container)
{
container.Add(this);
InitializeComponent();
}
protected override void OnDoWork(DoWorkEventArgs e)
{
base.OnDoWork(e);
//
this.Status.TaskMessage = Resources.Closing;
Running.DownloadEngine.CloseDownloadEngine();
//
System.Windows.Forms.Application.Exit();
}
}
}
|