private void frmRMFileDownload_Load(object sender, EventArgs e) { lock (_Lock) { _WebClient = new RMWebClient(); _WebClient.DownloadFileCompleted += new AsyncCompletedEventHandler(WC_DownloadFileCompleted); _WebClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(WC_DownloadProgressChanged); _WebClient.DownloadFileAsync(new Uri(lblFrom.Text), lblTo.Text); } }