private void reset()
{
if (this.Form != null && !this.Form.IsDisposed) {
this.Form.Close();
}
this.Form = null;
this.filename = "";
this.filesize = 0;
this.lastLocation = 0;
this.speedTimer = new Stopwatch();
this.speedTimer.Start();
this.done = false;
this.Canceled = false;
}