void Timer_Tick(object sender, EventArgs e)
{
this.Torrents.Current = this.ListTorrents();
if (this.Torrents.Last != null)
{
List<TorrentFile> completed = this.FindDone();
List<TorrentFile> added = this.FindNew();
if ((completed.Count > 0) && (this.DownloadComplete != null))
this.DownloadComplete(completed);
if ((added.Count > 0) && (this.TorrentAdded != null))
this.TorrentAdded(added);
}
}