Exemple #1
0
 private void WebClient_DownloadFileCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
 {
     if (size > 1024 * 1024 * 5)
     {
         client.Add(data);
     }
 }
Exemple #2
0
        public void LiveDownload()
        {
            if (livedata != null)
            {
                livedata.Extension = textBox3.Text;
                livedata.Title     = this.Text;

                new Thread(() =>
                {
                    client.Add(livedata);
                }).Start();
            }
        }