void download_StateChanged(object sender, EventArgs e) { switch (download.State) { case DownloaderState.Ended: LoadData(); goto case DownloaderState.EndedWithError; case DownloaderState.EndedWithError: context.NotifyCompletion(this); break; } }