void VideoDownloader_ProgressChanged(object sender, DownloadEventArgs e)
 {
     if (dlgProgress != null)
     {
         dlgProgress.SetLine(2, string.Format("{0} Mb / {1} Mb ({2}%)", e.TotalFileSize / 1024 / 1024, e.CurrentFileSize / 1024 / 1024, e.PercentDone));
         dlgProgress.ShowProgressBar(true);
         dlgProgress.SetPercentage(e.PercentDone);
         dlgProgress.Progress();
     }
 }
 void VideoDownloader_ProgressChanged(object sender, DownloadEventArgs e)
 {
     if (dlgProgress != null)
       {
     dlgProgress.SetLine(2, string.Format("{0} Mb / {1} Mb ({2}%)", e.TotalFileSize/1024/1024, e.CurrentFileSize/1024/1024, e.PercentDone));
     dlgProgress.ShowProgressBar(true);
     dlgProgress.SetPercentage(e.PercentDone);
     dlgProgress.Progress();
       }
       GUIPropertyManager.SetProperty("#Youtube.fm.Download.Progress", e.PercentDone.ToString());
 }