If you've ever wanted to create your own Download Manager, where you download a file, keep track of the amount of the file that has been downloaded, and use a ProgressBar, this is the tutorial for you.

So first, drag a ProgressBar and a Button from the Toolbox onto the form.

Create a Click_Event for the button by double clicking it.

Add this using statement to the top of the form.

using System.Net;

In the Click_Event, we are going to create a WebClient object to download the file.

The name 'client_DownloadProgressChanged' does not exist in the current contest

I found this error when I declared a variable in an if and then tried to use it outside. But in thi contest i can't find out why...
Thanks for the guide overall...

The method that it will use when the progress changes(client_DownloadProgressChanged) doesn't exist. You must have missed it. You can also use IntelliSense to help you out. When you type "+=", IntelliSense will try to complete it for you. If you simply hit [TAB] [TAB], it will create the rest of the event handler and create the method stub for you.