Exemplo n.º 1
0
 private void OnDownloadBegin(object sender, DownloadBeginEventArgs e)
 {
     // Show the Downloads tray if the view that triggered the download,
     // is presented in this window.
     if (this.Views.Any(tab => tab.Browser != null && tab.Browser.Identifier == e.Info.OriginViewId))
     {
         this.DownloadsVisible = true;
     }
 }
Exemplo n.º 2
0
 private void OnDownloadBegin(object sender, DownloadBeginEventArgs e)
 {
     this.DownloadsVisible = true;
 }
Exemplo n.º 3
0
 private void OnDownloadBegin(object sender, DownloadBeginEventArgs e)
 {
     DownloadsWindow.Show(dockPanel, DockState.DockBottom);
 }
Exemplo n.º 4
0
    void webBrowserEvents2_DownloadBegin()
    {
        var eventArgs = new DownloadBeginEventArgs();
            eventArgs.Uri = _webBrowser2.LocationURL;

        DownloadBegin( this, eventArgs );
    }