Ejemplo n.º 1
0
 private void OnWebViewDownloadCompleted(Object sender, DownloadEventArgs e)
 {
     FormProgress.CloseProgress();
     using (var formComplete = new FormFileDownloadComplete(e.Item.FullPath))
     {
         formComplete.StartPosition = FormStartPosition.CenterParent;
         formComplete.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void OnWebViewDownloadCompleted(Object sender, DownloadEventArgs e)
 {
     TabControl.Enabled = true;
     FormProgress.CloseProgress();
     using (var formComplete = new FormFileDownloadComplete(e.Item.FullPath))
     {
         formComplete.StartPosition = FormStartPosition.CenterScreen;
         formComplete.ShowDialog();
     }
 }
Ejemplo n.º 3
0
 private void OnWebViewDownloadCompleted(object sender, DownloadEventArgs e)
 {
     _siteContainer.ResumePages();
     FormDownloadProgress.CloseProgress();
     if (".MP4".Equals(Path.GetExtension(e.Item.FullPath), StringComparison.OrdinalIgnoreCase))
     {
         if (HandleVideoDownloaded(e.Item.FullPath))
         {
             return;
         }
     }
     using (var formComplete = new FormFileDownloadComplete(e.Item.FullPath))
     {
         formComplete.ShowDialog(_siteContainer.ParentBundle.MainForm);
     }
 }