{
Relocation = check box 1. Checked;
StrUrl = textBox 1。 Text; //Remote server file to download
StrFileName = textBox 1。 Text.Substring(textBox 1。 text . LastIndexOf(@ "/)+ 1); //File name saved locally
StrFileName = System。 IO.Path.Combine(@"d:\mp3 ",StrFileName); //Save it in the local D:\MP3 directory, and you can modify it according to your own situation.
ThreadDown = new Thread(new ThreadStart(DownFile));
Smooth. start();
}
}